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 11:18:07 -07:00
// only-x86
2020-09-01 17:12:52 -04:00
#[link(name = "foo", kind = "raw-dylib")]
2022-07-29 11:18:07 -07:00
//~^ ERROR: link kind `raw-dylib` is unstable on x86
2020-09-01 17:12:52 -04:00
extern "C" {}
2019-08-27 22:42:44 +08:00
fn main() {}