mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
Fix link name for extern "C"
in msvc
This commit is contained in:
parent
8d69a1e69e
commit
436d4f62e0
@ -6,7 +6,8 @@
|
||||
extern crate no_builtins;
|
||||
extern crate foo;
|
||||
|
||||
#[link(name = "c")]
|
||||
#[cfg_attr(unix, link(name = "c"))]
|
||||
#[cfg_attr(target_env = "msvc", link(name = "msvcrt"))]
|
||||
extern "C" {}
|
||||
|
||||
#[start]
|
||||
|
Loading…
Reference in New Issue
Block a user