about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2018-07-16 11:31:14 -0700
committerAlex Crichton <alex@alexcrichton.com>2018-07-18 07:50:08 -0700
commitb9024f8a75a554f44063ab0c7a4c65c3087e12b6 (patch)
tree5932f399cf0678ba8044997ca9cda76384fdf46c /src/libstd/sys/unix/stack_overflow.rs
parent29ee65411c46b8f701bd1f241725092cb1b347e6 (diff)
downloadrust-b9024f8a75a554f44063ab0c7a4c65c3087e12b6.tar.gz
rust-b9024f8a75a554f44063ab0c7a4c65c3087e12b6.zip
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
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions