Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

Commit

Permalink
Replace -W,-export-dynamic with -rdynamic
Browse files Browse the repository at this point in the history
The MacOS linker requires `-export_dynamic` instead of `-export-dynamic`.

Due to `-export-dynamic` being in the global `cargo` config, tools from
Lucet that could be compiled on macOS cannot be compiled any more.
This also prevents RLS from working properly.

-rdynamic works everywhere.
  • Loading branch information
jedisct1 committed Apr 11, 2019
1 parent 86fab5a commit 7521ba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .cargo/config
@@ -1,2 +1,2 @@
[build]
rustflags = ["-C", "link-args=-Wl,--export-dynamic"]
rustflags = ["-C", "link-args=-rdynamic"]

0 comments on commit 7521ba9

Please sign in to comment.