Skip to content

Commit

Permalink
Add cargo config
Browse files Browse the repository at this point in the history
  • Loading branch information
rockerBOO committed Nov 8, 2024
1 parent fc87f1c commit 9158fdb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# If we want threading
# [target.wasm32-unknown-unknown]
# rustflags = ["-C", "target-feature=+atomics,+bulk-memory,+mutable-globals"]
# rustflags = ["-C", "target-feature=+bulk-memory,+mutable-globals"]

[target.wasm32-unknown-unknown]
rustflags = ["-C", "target-feature=+simd128"]

[target.x86_64-unknown-linux-gnu]
linker = "clang"
rustflags = ["-C", "link-arg=-fuse-ld=/usr/bin/mold"]

0 comments on commit 9158fdb

Please sign in to comment.