Skip to content

Commit

Permalink
Fix compilation issue as it was a cargo misconfiguration for the bind…
Browse files Browse the repository at this point in the history
…ings generator
  • Loading branch information
neithanmo committed Apr 19, 2024
1 parent a2ca20c commit 359c114
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions app/rust/.cargo/config
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
[build]
[unstable]
build-std=["core"]
build-std-features=["panic_immediate_abort"]
target-applies-to-host = true
host-config = true

[host]
rustflags = ["-Ctarget-feature=-crt-static"]

[target.'cfg(all(target_arch = "arm", target_os = "none"))']
rustflags = [
Expand All @@ -8,6 +15,4 @@ rustflags = [
"-C", "link-arg=-Tlink.ld",
"-C", "inline-threshold=0"
]
[unstable]
build-std=["core"]
build-std-features=["panic_immediate_abort"]

0 comments on commit 359c114

Please sign in to comment.