Skip to content

Commit

Permalink
add cargo build flags
Browse files Browse the repository at this point in the history
  • Loading branch information
rauljordan committed Jan 8, 2025
1 parent 4bf0c83 commit 0e0f5b0
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[target.wasm32-unknown-unknown]
rustflags = [
"-C", "link-arg=-zstack-size=32768",
"-C", "target-feature=-reference-types",
]

[target.aarch64-apple-darwin]
rustflags = [
"-C", "link-arg=-undefined",
"-C", "link-arg=dynamic_lookup",
]

[target.x86_64-apple-darwin]
rustflags = [
"-C", "link-arg=-undefined",
"-C", "link-arg=dynamic_lookup",
]

0 comments on commit 0e0f5b0

Please sign in to comment.