rust/tests/ui/linkage-attr/incompatible-flavor.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
234 B
Rust
Raw Normal View History

//@ compile-flags: --target=x86_64-unknown-linux-gnu -C linker-flavor=msvc --crate-type=rlib
//@ error-pattern: linker flavor `msvc` is incompatible with the current target
//@ needs-llvm-components:
#![feature(no_core)]
#![no_core]