]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_codegen_llvm/src/metadata.rs
Rollup merge of #81679 - GuillaumeGomez:clean-fixme-match-bind, r=poliorcetics,CraftS...
[rust.git] / compiler / rustc_codegen_llvm / src / metadata.rs
index 9036428c04b8acd0bce5240c56378bc483cd3932..3912d6a3a48b65cfb7184ebaf2fb1d579e36eda6 100644 (file)
@@ -104,7 +104,7 @@ pub fn metadata_section_name(target: &Target) -> &'static str {
     // As a result, we choose a slightly shorter name! As to why
     // `.note.rustc` works on MinGW, that's another good question...
 
-    if target.options.is_like_osx { "__DATA,.rustc" } else { ".rustc" }
+    if target.is_like_osx { "__DATA,.rustc" } else { ".rustc" }
 }
 
 fn read_metadata_section_name(_target: &Target) -> &'static str {