Skip to content

Commit

Permalink
chore: add macOS-specific Rust flags for dynamic linking
Browse files Browse the repository at this point in the history
  • Loading branch information
StaxoLotl committed Jan 22, 2025
1 parent ee25fb1 commit 6be758b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,9 @@ opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"

[target.'cfg(target_os = "macos")']
rustflags = [
"-C", "link-arg=-undefined",
"-C", "link-arg=dynamic_lookup",
]

0 comments on commit 6be758b

Please sign in to comment.