rust/tests/ui/wasm/wasm-custom-section-relocations.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
575 B
Plaintext
Raw Normal View History

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
2018-12-25 09:56:47 -06:00
--> $DIR/wasm-custom-section-relocations.rs:4:1
|
LL | pub static A: &[u8] = &[1];
2022-02-13 09:27:59 -06:00
| ^^^^^^^^^^^^^^^^^^^
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
2018-12-25 09:56:47 -06:00
--> $DIR/wasm-custom-section-relocations.rs:13:1
|
LL | pub static D: &usize = &C;
2022-02-13 09:27:59 -06:00
| ^^^^^^^^^^^^^^^^^^^^
error: aborting due to 2 previous errors