Skip to content

Commit

Permalink
add rustflags for musl
Browse files Browse the repository at this point in the history
  • Loading branch information
sxlijin authored Aug 7, 2024
1 parent 540f362 commit 9604778
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions engine/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# https://github.com/rust-lang/cargo/issues/8607
[target.x86_64-unknown-linux-musl]
rustflags = ["-C", "target-feature=-crt-static"]
[target.aarch64-unknown-linux-musl]
rustflags = ["-C", "target-feature=-crt-static"]

0 comments on commit 9604778

Please sign in to comment.