fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: wasm import module must be of the form `wasm_import_module = "string"` 2 --> $DIR/wasm-import-module.rs:3:22 3 | 4LL | #[link(name = "...", wasm_import_module)] 5 | ^^^^^^^^^^^^^^^^^^ 6 7error: wasm import module must be of the form `wasm_import_module = "string"` 8 --> $DIR/wasm-import-module.rs:6:22 9 | 10LL | #[link(name = "...", wasm_import_module(x))] 11 | ^^^^^^^^^^^^^^^^^^^^^ 12 13error: wasm import module must be of the form `wasm_import_module = "string"` 14 --> $DIR/wasm-import-module.rs:9:22 15 | 16LL | #[link(name = "...", wasm_import_module())] 17 | ^^^^^^^^^^^^^^^^^^^^ 18 19error: `wasm_import_module` is incompatible with other arguments in `#[link]` attributes 20 --> $DIR/wasm-import-module.rs:12:8 21 | 22LL | #[link(wasm_import_module = "foo", name = "bar")] 23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 24 25error: `wasm_import_module` is incompatible with other arguments in `#[link]` attributes 26 --> $DIR/wasm-import-module.rs:15:8 27 | 28LL | #[link(wasm_import_module = "foo", kind = "dylib")] 29 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 30 31error: `wasm_import_module` is incompatible with other arguments in `#[link]` attributes 32 --> $DIR/wasm-import-module.rs:18:8 33 | 34LL | #[link(wasm_import_module = "foo", cfg(FALSE))] 35 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 36 37error: aborting due to 6 previous errors 38