mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
Enable msvc for no-duplicate-libs
This commit is contained in:
parent
b46237bdd7
commit
2e5341aecd
@ -1,6 +1,6 @@
|
||||
#[link(name = "foo")] // linker should drop this library, no symbols used
|
||||
#[link(name = "bar")] // symbol comes from this library
|
||||
#[link(name = "foo")] // now linker picks up `foo` b/c `bar` library needs it
|
||||
#[link(name = "foo", kind = "static")] // linker should drop this library, no symbols used
|
||||
#[link(name = "bar", kind = "static")] // symbol comes from this library
|
||||
#[link(name = "foo", kind = "static")] // now linker picks up `foo` b/c `bar` library needs it
|
||||
extern "C" {
|
||||
fn bar();
|
||||
}
|
||||
|
@ -9,9 +9,6 @@
|
||||
//@ ignore-cross-compile
|
||||
// Reason: the compiled binary is executed
|
||||
|
||||
//@ ignore-msvc
|
||||
// Reason: native compilation results in an unresolved external symbol
|
||||
|
||||
use run_make_support::{build_native_static_lib, run, rustc};
|
||||
|
||||
fn main() {
|
||||
|
Loading…
Reference in New Issue
Block a user