fll-rs

Crates.iofll-rs
lib.rsfll-rs
version0.1.4
sourcesrc
created_at2023-03-28 16:34:58.574559
updated_at2023-05-07 16:04:49.304913
descriptionMovement and ui apis for lego ev3 robots intended for use in the FIRST Lego League competition
homepage
repositoryhttps://github.com/Eoghanmc22/fll-rs
max_upload_size
id823217
size218,432
(Eoghanmc22)

documentation

https://docs.rs/fll-rs

README

Cross Compiling

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

Reducing Binary Size

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
Commit count: 52

cargo fmt