]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/wasm/wasm-import-module.rs
3 #[link(name = "...", wasm_import_module)] //~ ERROR: must be of the form
6 #[link(name = "...", wasm_import_module(x))] //~ ERROR: must be of the form
9 #[link(name = "...", wasm_import_module())] //~ ERROR: must be of the form
12 #[link(wasm_import_module = "foo", name = "bar")] //~ ERROR: `wasm_import_module` is incompatible with other arguments
15 #[link(wasm_import_module = "foo", kind = "dylib")] //~ ERROR: `wasm_import_module` is incompatible with other arguments
18 #[link(wasm_import_module = "foo", cfg(FALSE))] //~ ERROR: `wasm_import_module` is incompatible with other arguments