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