Skip to content

Commit b87f8a4

Browse files
committed
Add issue reference
1 parent df13721 commit b87f8a4

File tree

2 files changed

+3
-3
lines changed
  • compiler/rustc_codegen_ssa/src/back
  • src/test/run-make-fulldeps/symbol-visibility

2 files changed

+3
-3
lines changed

compiler/rustc_codegen_ssa/src/back/linker.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ impl<'a> Linker for GccLinker<'a> {
656656
return;
657657
}
658658

659-
// FIXME hide #[no_mangle] symbols for proc-macros
659+
// FIXME(#99978) hide #[no_mangle] symbols for proc-macros
660660

661661
let is_windows = self.sess.target.is_like_windows;
662662
let path = tmpdir.join(if is_windows { "list.def" } else { "list" });

src/test/run-make-fulldeps/symbol-visibility/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ all:
5959
[ "$$($(NM) $(TMPDIR)/$(RDYLIB_NAME) | grep -v __imp_ | grep -c public_generic_function_from_rlib)" -eq "0" ]
6060

6161
# Check that a proc macro exports its public #[no_mangle] functions
62-
# FIXME avoid exporting #[no_mangle] symbols for proc macros
62+
# FIXME(#99978) avoid exporting #[no_mangle] symbols for proc macros
6363
[ "$$($(NM) $(TMPDIR)/$(CDYLIB_NAME) | grep -v __imp_ | grep -c public_c_function_from_cdylib)" -eq "1" ]
6464
# Check that a proc macro exports the public #[no_mangle] functions of dependencies
6565
[ "$$($(NM) $(TMPDIR)/$(CDYLIB_NAME) | grep -v __imp_ | grep -c public_c_function_from_rlib)" -eq "1" ]
@@ -108,7 +108,7 @@ endif
108108
[ "$$($(NM) $(TMPDIR)/$(RDYLIB_NAME) | grep -v __imp_ | grep -c public_generic_function_from_rlib)" -eq "1" ]
109109

110110
# Check that a proc macro exports its public #[no_mangle] functions
111-
# FIXME avoid exporting #[no_mangle] symbols for proc macros
111+
# FIXME(#99978) avoid exporting #[no_mangle] symbols for proc macros
112112
[ "$$($(NM) $(TMPDIR)/$(CDYLIB_NAME) | grep -v __imp_ | grep -c public_c_function_from_cdylib)" -eq "1" ]
113113
# Check that a proc macro exports the public #[no_mangle] functions of dependencies
114114
[ "$$($(NM) $(TMPDIR)/$(CDYLIB_NAME) | grep -v __imp_ | grep -c public_c_function_from_rlib)" -eq "1" ]

0 commit comments

Comments
 (0)