rust/src/test/run-make
Alex Crichton b9024f8a75 rustc: Stabilize #[wasm_import_module] as #[link(...)]
This commit stabilizes the `#[wasm_import_module]` attribute as
`#[link(wasm_import_module = "...")]`. Tracked by #52090 this new directive in
the `#[link]` attribute is used to configured the module name that the imports
are listed with. The WebAssembly specification indicates two utf-8 names are
associated with all imported items, one for the module the item comes from and
one for the item itself. The item itself is configurable in Rust via its
identifier or `#[link_name = "..."]`, but the module name was previously not
configurable and defaulted to `"env"`. This commit ensures that this is also
configurable.

Closes #52090
2018-07-18 07:50:08 -07:00
..
wasm-custom-section rustc: Use link_section, not wasm_custom_section 2018-07-16 09:40:45 -07:00
wasm-import-module rustc: Stabilize #[wasm_import_module] as #[link(...)] 2018-07-18 07:50:08 -07:00
wasm-panic-small std: Avoid allocating panic message unless needed 2018-04-13 07:04:24 -07:00