diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2018-07-13 11:30:47 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2018-07-16 09:40:45 -0700 |
| commit | b7ef674832c0d7e703e12f7880a928bf8cd0c9c5 (patch) | |
| tree | de7e6f9b4ba9a23814eb1c8846a5a8f93e6739c1 /src/test/incremental | |
| parent | 50702b28383c15907c29e8f70256cdd439800834 (diff) | |
| download | rust-b7ef674832c0d7e703e12f7880a928bf8cd0c9c5.tar.gz rust-b7ef674832c0d7e703e12f7880a928bf8cd0c9c5.zip | |
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/test/incremental')
| -rw-r--r-- | src/test/incremental/issue-49595/issue_49595.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/incremental/issue-49595/issue_49595.rs b/src/test/incremental/issue-49595/issue_49595.rs index dfa92d425f4..134f114e6ac 100644 --- a/src/test/incremental/issue-49595/issue_49595.rs +++ b/src/test/incremental/issue-49595/issue_49595.rs @@ -15,7 +15,7 @@ #![feature(rustc_attrs)] #![crate_type = "rlib"] -#![rustc_partition_codegened(module="issue_49595-tests", cfg="cfail2")] +#![rustc_partition_codegened(module="issue_49595-__test", cfg="cfail2")] #![rustc_partition_codegened(module="issue_49595-lit_test", cfg="cfail3")] mod tests { |
