diff --git a/Cargo.toml b/Cargo.toml index be6991a..30d3580 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,5 +15,4 @@ chrono = "0.4" [profile.release] codegen-units = 1 panic = 'abort' -lto = true -opt-level = "z" \ No newline at end of file +opt-level = "z" diff --git a/README.md b/README.md new file mode 100644 index 0000000..7b9579f --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +# How I compile on pi +```sh +RUSTFLAGS="-C link-arg=-s" cargo build --release --target=armv7-unknown-linux-musleabihf +```