about summary refs log tree commit diff
path: root/src/librustc_interface
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2020-04-30 10:53:16 -0700
committerAlex Crichton <alex@alexcrichton.com>2020-05-01 09:05:13 -0700
commite1832fa4e4700a5f8935ac3e88f7688a15e17df0 (patch)
tree83a9e5e259160bdfeef7c5f3cba30860144a6017 /src/librustc_interface
parenteece58a8e35c444afba6fa34873bc0244e32cd29 (diff)
downloadrust-e1832fa4e4700a5f8935ac3e88f7688a15e17df0.tar.gz
rust-e1832fa4e4700a5f8935ac3e88f7688a15e17df0.zip
Rename `bitcode-in-rlib` option to `embed-bitcode`
This commit finishes work first pioneered in #70458 and started in #71528.
The `-C bitcode-in-rlib` option, which has not yet reached stable, is
renamed to `-C embed-bitcode` since that more accurately reflects what
it does now anyway. Various tests and such are updated along the way as
well.

This'll also need to be backported to the beta channel to ensure we
don't accidentally stabilize `-Cbitcode-in-rlib` as well.
Diffstat (limited to 'src/librustc_interface')
-rw-r--r--src/librustc_interface/tests.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustc_interface/tests.rs b/src/librustc_interface/tests.rs
index 0b3ba73f86a..0a200426e38 100644
--- a/src/librustc_interface/tests.rs
+++ b/src/librustc_interface/tests.rs
@@ -410,10 +410,10 @@ fn test_codegen_options_tracking_hash() {
 
     // Make sure that changing a [TRACKED] option changes the hash.
     // This list is in alphabetical order.
-    tracked!(bitcode_in_rlib, false);
     tracked!(code_model, Some(String::from("code model")));
     tracked!(debug_assertions, Some(true));
     tracked!(debuginfo, 0xdeadbeef);
+    tracked!(embed_bitcode, false);
     tracked!(force_frame_pointers, Some(false));
     tracked!(inline_threshold, Some(0xf007ba11));
     tracked!(linker_plugin_lto, LinkerPluginLto::LinkerPluginAuto);
@@ -529,7 +529,6 @@ fn test_debugging_options_tracking_hash() {
     tracked!(debug_macros, true);
     tracked!(dep_info_omit_d_target, true);
     tracked!(dual_proc_macros, true);
-    tracked!(embed_bitcode, true);
     tracked!(fewer_names, true);
     tracked!(force_overflow_checks, Some(true));
     tracked!(force_unstable_if_unmarked, true);