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.
extern "C"
1 parent 8d69a1e commit 436d4f6Copy full SHA for 436d4f6
tests/run-make/no-builtins-lto/main.rs
@@ -6,7 +6,8 @@
6
extern crate no_builtins;
7
extern crate foo;
8
9
-#[link(name = "c")]
+#[cfg_attr(unix, link(name = "c"))]
10
+#[cfg_attr(target_env = "msvc", link(name = "msvcrt"))]
11
extern "C" {}
12
13
#[start]
0 commit comments