rust/tests/ui/feature-gates/feature-gate-raw-dylib.rs

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

8 lines
151 B
Rust
Raw Normal View History

// only-windows
2022-07-29 13:18:07 -05:00
// only-x86
2020-09-01 16:12:52 -05:00
#[link(name = "foo", kind = "raw-dylib")]
2022-07-29 13:18:07 -05:00
//~^ ERROR: link kind `raw-dylib` is unstable on x86
2020-09-01 16:12:52 -05:00
extern "C" {}
2019-08-27 09:42:44 -05:00
fn main() {}