mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +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
176 B
Rust
7 lines
176 B
Rust
//@ only-windows-gnu
|
|
//@ build-fail
|
|
//@ compile-flags: -C linker={{src-base}}/linking/auxiliary/fake-linker.ps1
|
|
#![deny(linker_info)]
|
|
//~? ERROR Warning: .drectve
|
|
fn main() {}
|