Files
rust/tests/ui/linking/macos-ignoring-duplicate.rs
T
Jynn Nelson 20404bf4a6 Split out linker-info from linker-messages
- 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
2026-03-06 10:38:21 +01:00

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() {}