summaryrefslogtreecommitdiffstats
path: root/src/test/ui/native-library-link-flags/modifiers-override.stderr
blob: eb3ab55c31044874bb7b86bee8ac09376e043d41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
error: multiple `modifiers` arguments in a single `#[link]` attribute
  --> $DIR/modifiers-override.rs:9:5
   |
LL |     modifiers = "+bundle"
   |     ^^^^^^^^^^^^^^^^^^^^^

error: multiple `whole-archive` modifiers in a single `modifiers` argument
  --> $DIR/modifiers-override.rs:7:17
   |
LL |     modifiers = "+whole-archive,-whole-archive",
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: overriding linking modifiers from command line is not supported
  --> $DIR/modifiers-override.rs:12:1
   |
LL | extern "C" {}
   | ^^^^^^^^^^^^^

error: overriding linking modifiers from command line is not supported
  --> $DIR/modifiers-override.rs:12:1
   |
LL | extern "C" {}
   | ^^^^^^^^^^^^^

error: aborting due to 4 previous errors