fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
589 B14 linesraw
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
2  --> $DIR/wasm-custom-section-relocations.rs:4:1
3   |
4LL | pub static A: &[u8] = &[1];
5   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
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
8  --> $DIR/wasm-custom-section-relocations.rs:13:1
9   |
10LL | pub static D: &usize = &C;
11   | ^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13error: aborting due to 2 previous errors
14