about summary refs log tree commit diff
path: root/src/test/incremental
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2018-07-13 11:30:47 -0700
committerAlex Crichton <alex@alexcrichton.com>2018-07-16 09:40:45 -0700
commitb7ef674832c0d7e703e12f7880a928bf8cd0c9c5 (patch)
treede7e6f9b4ba9a23814eb1c8846a5a8f93e6739c1 /src/test/incremental
parent50702b28383c15907c29e8f70256cdd439800834 (diff)
downloadrust-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.rs2
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 {