mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-28 20:16:58 +03:00
20404bf4a6
- Hide common linker output behind `linker-info` - Add tests - Account for different capitalization on windows-gnu when removing "warning" prefix - Add some more comments - Add macOS deployment-target test - Ignore linker warnings from trying to statically link glibc I don't know what's going on in `nofile-limit.rs` but I want no part of it. - Use a fake linker so tests are platform-independent
7 lines
156 B
Rust
7 lines
156 B
Rust
//@ only-apple
|
|
//@ compile-flags: -C link-arg=-lc -C link-arg=-lc
|
|
//@ build-fail
|
|
#![deny(linker_info)]
|
|
//~? ERROR ignoring duplicate libraries
|
|
fn main() {}
|