Skip to content

Commit

Permalink
fix: MacOS lld compilation failure (#1361)
Browse files Browse the repository at this point in the history
MacOS uses Rust lld, avoids this error: ld: Assertion failed:
(name.size() <= maxLength), function makeSymbolStringInPlace
  • Loading branch information
davidchuyaya authored Jul 25, 2024
1 parent ca6c16b commit 993d43a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ rustflags = [
# "-Aclippy::uninlined-format-args",
]

[target.x86_64-apple-darwin]
linker = "rust-lld"

[target.x86_64-unknown-linux-musl]
linker = "rust-lld"

Expand Down

0 comments on commit 993d43a

Please sign in to comment.