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