summaryrefslogtreecommitdiffstats
path: root/tests/ui/wasm/wasm-custom-section-relocations.stderr
blob: a37edc51d1975a48c51de04d490057c0d1eecd30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: statics with a custom `#[link_section]` must be a simple list of bytes on the wasm target with no extra levels of indirection such as references
  --> $DIR/wasm-custom-section-relocations.rs:4:1
   |
LL | pub static A: &[u8] = &[1];
   | ^^^^^^^^^^^^^^^^^^^

error: statics with a custom `#[link_section]` must be a simple list of bytes on the wasm target with no extra levels of indirection such as references
  --> $DIR/wasm-custom-section-relocations.rs:13:1
   |
LL | pub static D: &usize = &C;
   | ^^^^^^^^^^^^^^^^^^^^

error: aborting due to 2 previous errors