2022-03-14 05:28:34 -05:00
|
|
|
error: multiple `modifiers` arguments in a single `#[link]` attribute
|
2022-04-08 10:20:57 -05:00
|
|
|
--> $DIR/modifiers-override.rs:9:5
|
2022-02-11 01:08:35 -06:00
|
|
|
|
|
2022-03-14 05:28:34 -05:00
|
|
|
LL | modifiers = "+bundle"
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
2022-02-11 01:08:35 -06:00
|
|
|
|
2022-03-14 05:28:34 -05:00
|
|
|
error: multiple `whole-archive` modifiers in a single `modifiers` argument
|
2022-04-08 10:20:57 -05:00
|
|
|
--> $DIR/modifiers-override.rs:7:17
|
2022-02-11 01:08:35 -06:00
|
|
|
|
|
2022-03-14 05:28:34 -05:00
|
|
|
LL | modifiers = "+whole-archive,-whole-archive",
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2022-02-11 01:08:35 -06:00
|
|
|
|
|
|
|
error: overriding linking modifiers from command line is not supported
|
2022-04-08 10:20:57 -05:00
|
|
|
--> $DIR/modifiers-override.rs:12:1
|
2022-02-11 01:08:35 -06:00
|
|
|
|
|
|
|
|
LL | extern "C" {}
|
|
|
|
| ^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: overriding linking modifiers from command line is not supported
|
2022-04-08 10:20:57 -05:00
|
|
|
--> $DIR/modifiers-override.rs:12:1
|
2022-02-11 01:08:35 -06:00
|
|
|
|
|
|
|
|
LL | extern "C" {}
|
|
|
|
| ^^^^^^^^^^^^^
|
2023-10-04 13:34:50 -05:00
|
|
|
|
|
|
|
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
|
2022-02-11 01:08:35 -06:00
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|