From e1832fa4e4700a5f8935ac3e88f7688a15e17df0 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 30 Apr 2020 10:53:16 -0700 Subject: 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. --- src/librustc_interface/tests.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/librustc_interface') 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); -- cgit 1.4.1-3-g733a5