File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
compiler/rustc_codegen_llvm/src Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -545,7 +545,7 @@ impl<'ll> StaticMethods for CodegenCx<'ll, '_> {
545
545
//
546
546
// However, unconditional use of `llvm.compiler.used` caused a nontrivial amount of
547
547
// ecosystem breakage, especially on Mach-O targets. To resolve this, we compile it
548
- // as llvm.used on ELF targets and llvm.compiler. used elsewhere, which and should be
548
+ // as llvm.compiler. used on ELF targets and llvm.used elsewhere, which should be
549
549
// equivalent to how we compiled `#[used]` before LLVM 13, as `llvm.used` and
550
550
// `llvm.compiler.used` were treated the same on ELF targets prior in earlier LLVM
551
551
// versions (additionally, it seems to be how Clang handles `__attribute__((used))`,
You can’t perform that action at this time.
0 commit comments