mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
01b75e20f2
to avoid going over the existing limit now that the ui-fulldeps tests have been moved to ui.
15 lines
575 B
Plaintext
15 lines
575 B
Plaintext
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
|
|
|