Skip to content

Commit

Permalink
MIPS32 config
Browse files Browse the repository at this point in the history
  • Loading branch information
huntc committed Sep 8, 2023
1 parent 4f125b7 commit 2164e2e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,10 @@ warp = "0.3"
[profile.bench-debug]
inherits = "release"
debug = true

[profile.release]
codegen-units = 1 # better optimizations
lto = true # better optimizations
opt-level = 'z' # Optimize for size
panic = "abort" # No unwinding or helpful backtrace
strip = true # No debug symbols etc
2 changes: 2 additions & 0 deletions examples/iot-service/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[target.mipsel-unknown-linux-musl]
linker = "mipsel-openwrt-linux-musl-gcc"

0 comments on commit 2164e2e

Please sign in to comment.