Crates.io | fll-rs |
lib.rs | fll-rs |
version | 0.1.4 |
source | src |
created_at | 2023-03-28 16:34:58.574559 |
updated_at | 2023-05-07 16:04:49.304913 |
description | Movement and ui apis for lego ev3 robots intended for use in the FIRST Lego League competition |
homepage | |
repository | https://github.com/Eoghanmc22/fll-rs |
max_upload_size | |
id | 823217 |
size | 218,432 |
To cross compile, the rust tool chain for armv5te-musl
needs to be installed
rustup target add armv5te-unknown-linux-musleabi
To tell rust to compile for armv5te-musl
by default and to set the correct linker
include the following in .cargo/config.toml
[build]
target = "armv5te-unknown-linux-musleabi"
[target.armv5te-unknown-linux-musleabi]
linker = "rust-lld"
See https://crates.io/crates/ev3dev-lang-rust for information about cross compiling your code
Enabling global lto causes more aggressive dead code elimination
Setting strip to true removes debugging information from the binary
[profile.release]
lto = true
strip = true