Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Move rust flags
  • Loading branch information
thecrypticace committed Mar 18, 2025
commit 7ee683f8eed7919edd56eaa13afc7ba02b23b238
2 changes: 0 additions & 2 deletions .cargo/config.toml

This file was deleted.

2 changes: 2 additions & 0 deletions crates/node/.cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ linker = "arm-linux-gnueabihf-gcc"
rustflags = ["-C", "target-feature=+crt-static"]
[target.aarch64-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]
[target.'cfg(target_env = "gnu")']
rustflags = ["-C", "link-args=-Wl,-z,nodelete"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is fine to do this way b/c we only pass compiler flags for Musl which isn't affected by this rust bug