We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65fa0ab commit 73a7a59Copy full SHA for 73a7a59
compiler/rustc_codegen_ssa/src/back/metadata.rs
@@ -221,6 +221,9 @@ pub(crate) fn create_object_file(sess: &Session) -> Option<write::Object<'static
221
222
file.set_macho_build_version(macho_object_build_version_for_target(sess))
223
}
224
+ if binary_format == BinaryFormat::MachO {
225
+ file.set_subsections_via_symbols();
226
+ }
227
if binary_format == BinaryFormat::Coff {
228
// Disable the default mangler to avoid mangling the special "@feat.00" symbol name.
229
let original_mangling = file.mangling();
0 commit comments