mirror of https://github.com/rust-lang/rust
15 lines
572 B
Plaintext
15 lines
572 B
Plaintext
error: import name type can only be used with link kind `raw-dylib`
|
|
--> $DIR/import-name-type-unsupported-link-kind.rs:3:22
|
|
|
|
|
LL | #[link(name = "foo", import_name_type = "decorated")]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: import name type can only be used with link kind `raw-dylib`
|
|
--> $DIR/import-name-type-unsupported-link-kind.rs:7:39
|
|
|
|
|
LL | #[link(name = "bar", kind = "static", import_name_type = "decorated")]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 2 previous errors
|
|
|