]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_metadata/encoder.rs
Rollup merge of #61389 - Zoxc:arena-cleanup, r=eddyb
[rust.git] / src / librustc_metadata / encoder.rs
index 588682a2420a94b38437a7a6f8ad0e4b54db2dfb..586fc507dd3ebaa81ec0b3a61bd3f7cede2f8070 100644 (file)
@@ -498,6 +498,7 @@ fn encode_crate_root(&mut self) -> Lazy<CrateRoot<'tcx>> {
             panic_runtime: attr::contains_name(&attrs, sym::panic_runtime),
             profiler_runtime: attr::contains_name(&attrs, sym::profiler_runtime),
             sanitizer_runtime: attr::contains_name(&attrs, sym::sanitizer_runtime),
+            symbol_mangling_version: tcx.sess.opts.debugging_opts.symbol_mangling_version,
 
             crate_deps,
             dylib_dependency_formats,