We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3309eb commit 2d22c0cCopy full SHA for 2d22c0c
src/libstd/rt/crate_map.rs
@@ -16,6 +16,13 @@ use vec;
16
use hashmap::HashSet;
17
use container::MutableSet;
18
19
+// Need to tell the linker on OS X to not barf on undefined symbols
20
+// and instead look them up at runtime, which we need to resolve
21
+// the crate_map properly.
22
+#[cfg(target_os = "macos")]
23
+#[link_args = "-undefined dynamic_lookup"]
24
+extern {}
25
+
26
extern {
27
#[cfg(not(stage0))]
28
#[weak_linkage]
0 commit comments