mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
15 lines
415 B
Plaintext
15 lines
415 B
Plaintext
error: `#[link_ordinal]` is only supported if link kind is `raw-dylib`
|
|
--> $DIR/link-ordinal-unsupported-link-kind.rs:5:5
|
|
|
|
|
LL | #[link_ordinal(3)]
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
error: `#[link_ordinal]` is only supported if link kind is `raw-dylib`
|
|
--> $DIR/link-ordinal-unsupported-link-kind.rs:12:5
|
|
|
|
|
LL | #[link_ordinal(3)]
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 2 previous errors
|
|
|