]> git.proxmox.com Git - rustc.git/blame - tests/ui/wasm/wasm-custom-section-relocations.stderr
New upstream version 1.70.0+dfsg1
[rustc.git] / tests / ui / wasm / wasm-custom-section-relocations.stderr
CommitLineData
8faf50e0 1error: 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
0731742a 2 --> $DIR/wasm-custom-section-relocations.rs:4:1
8faf50e0 3 |
532ac7d7 4LL | pub static A: &[u8] = &[1];
064997fb 5 | ^^^^^^^^^^^^^^^^^^^
8faf50e0
XL
6
7error: 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
0731742a 8 --> $DIR/wasm-custom-section-relocations.rs:13:1
8faf50e0 9 |
532ac7d7 10LL | pub static D: &usize = &C;
064997fb 11 | ^^^^^^^^^^^^^^^^^^^^
8faf50e0 12
b7449926 13error: aborting due to 2 previous errors
8faf50e0 14