@@ -112,6 +112,7 @@ pub struct Config {
112112 pub rust_verify_llvm_ir : bool ,
113113 pub rust_thin_lto_import_instr_limit : Option < u32 > ,
114114 pub rust_remap_debuginfo : bool ,
115+ pub rust_new_symbol_mangling : bool ,
115116
116117 pub build : TargetSelection ,
117118 pub hosts : Vec < TargetSelection > ,
@@ -410,6 +411,7 @@ struct Rust {
410411 test_compare_mode : Option < bool > ,
411412 llvm_libunwind : Option < bool > ,
412413 control_flow_guard : Option < bool > ,
414+ new_symbol_mangling : Option < bool > ,
413415}
414416
415417/// TOML representation of how each build target is configured.
@@ -637,6 +639,7 @@ impl Config {
637639 debuginfo_level_tests = rust. debuginfo_level_tests ;
638640 optimize = rust. optimize ;
639641 ignore_git = rust. ignore_git ;
642+ set ( & mut config. rust_new_symbol_mangling , rust. new_symbol_mangling ) ;
640643 set ( & mut config. rust_optimize_tests , rust. optimize_tests ) ;
641644 set ( & mut config. codegen_tests , rust. codegen_tests ) ;
642645 set ( & mut config. rust_rpath , rust. rpath ) ;
0 commit comments