now compiles on pi

This commit is contained in:
Raatty 2019-10-19 18:42:53 +13:00
parent 5f3f9d6652
commit fca471ef64
2 changed files with 5 additions and 2 deletions

View File

@ -15,5 +15,4 @@ chrono = "0.4"
[profile.release] [profile.release]
codegen-units = 1 codegen-units = 1
panic = 'abort' panic = 'abort'
lto = true
opt-level = "z" opt-level = "z"

4
README.md Normal file
View File

@ -0,0 +1,4 @@
# How I compile on pi
```sh
RUSTFLAGS="-C link-arg=-s" cargo build --release --target=armv7-unknown-linux-musleabihf
```