diff options
| author | bors <bors@rust-lang.org> | 2018-07-18 03:05:27 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-07-18 03:05:27 +0000 |
| commit | cd5f5a129fab998a1ee7c72204d093dc475981d1 (patch) | |
| tree | e59dcf1d561e6aff89440217899dfe2a366a09dd /src/libsyntax | |
| parent | f686885a14fff16ddf984b08fb0d9ded07e66f1c (diff) | |
| parent | b7ef674832c0d7e703e12f7880a928bf8cd0c9c5 (diff) | |
| download | rust-cd5f5a129fab998a1ee7c72204d093dc475981d1.tar.gz rust-cd5f5a129fab998a1ee7c72204d093dc475981d1.zip | |
Auto merge of #52353 - alexcrichton:wasm-custom-section, r=eddyb
rustc: Use link_section, not wasm_custom_section This commit transitions definitions of custom sections on the wasm target from the unstable `#[wasm_custom_section]` attribute to the already-stable-for-other-targets `#[link_section]` attribute. Mostly the same restrictions apply as before, except that this now applies only to statics. Closes #51088
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/feature_gate.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/libsyntax/feature_gate.rs b/src/libsyntax/feature_gate.rs index 1a73096505f..2ef90e3ec47 100644 --- a/src/libsyntax/feature_gate.rs +++ b/src/libsyntax/feature_gate.rs @@ -407,9 +407,6 @@ declare_features! ( // `use path as _;` and `extern crate c as _;` (active, underscore_imports, "1.26.0", Some(48216), None), - // The #[wasm_custom_section] attribute - (active, wasm_custom_section, "1.26.0", Some(51088), None), - // The #![wasm_import_module] attribute (active, wasm_import_module, "1.26.0", Some(52090), None), @@ -1062,11 +1059,6 @@ pub const BUILTIN_ATTRIBUTES: &'static [(&'static str, AttributeType, AttributeG "infer outlives requirements is an experimental feature", cfg_fn!(infer_outlives_requirements))), - ("wasm_custom_section", Whitelisted, Gated(Stability::Unstable, - "wasm_custom_section", - "attribute is currently unstable", - cfg_fn!(wasm_custom_section))), - // RFC 2070 ("panic_implementation", Normal, Gated(Stability::Unstable, "panic_implementation", |
