Skip to content

Commit 8bd5fb7

Browse files
committed
Fix typo in comment
1 parent 4f1bb1c commit 8bd5fb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_codegen_ssa/src/back/linker.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1827,7 +1827,7 @@ fn exported_symbols_for_non_proc_macro(
18271827
let export_threshold = symbol_export::crates_export_threshold(&[crate_type]);
18281828
for_each_exported_symbols_include_dep(tcx, crate_type, |symbol, info, cnum| {
18291829
// Do not export mangled symbols from cdylibs and don't attempt to export compiler-builtins
1830-
// from any cdylib. The latter doesn't work anyway as we use hidden visibility for
1830+
// from any dylib. The latter doesn't work anyway as we use hidden visibility for
18311831
// compiler-builtins. Most linkers silently ignore it, but ld64 gives a warning.
18321832
if info.level.is_below_threshold(export_threshold) && !tcx.is_compiler_builtins(cnum) {
18331833
symbols.push((

0 commit comments

Comments
 (0)