mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
Add issue reference
This commit is contained in:
parent
df13721863
commit
b87f8a4d9c
@ -656,7 +656,7 @@ impl<'a> Linker for GccLinker<'a> {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME hide #[no_mangle] symbols for proc-macros
|
// FIXME(#99978) hide #[no_mangle] symbols for proc-macros
|
||||||
|
|
||||||
let is_windows = self.sess.target.is_like_windows;
|
let is_windows = self.sess.target.is_like_windows;
|
||||||
let path = tmpdir.join(if is_windows { "list.def" } else { "list" });
|
let path = tmpdir.join(if is_windows { "list.def" } else { "list" });
|
||||||
|
@ -59,7 +59,7 @@ all:
|
|||||||
[ "$$($(NM) $(TMPDIR)/$(RDYLIB_NAME) | grep -v __imp_ | grep -c public_generic_function_from_rlib)" -eq "0" ]
|
[ "$$($(NM) $(TMPDIR)/$(RDYLIB_NAME) | grep -v __imp_ | grep -c public_generic_function_from_rlib)" -eq "0" ]
|
||||||
|
|
||||||
# Check that a proc macro exports its public #[no_mangle] functions
|
# Check that a proc macro exports its public #[no_mangle] functions
|
||||||
# FIXME avoid exporting #[no_mangle] symbols for proc macros
|
# FIXME(#99978) avoid exporting #[no_mangle] symbols for proc macros
|
||||||
[ "$$($(NM) $(TMPDIR)/$(CDYLIB_NAME) | grep -v __imp_ | grep -c public_c_function_from_cdylib)" -eq "1" ]
|
[ "$$($(NM) $(TMPDIR)/$(CDYLIB_NAME) | grep -v __imp_ | grep -c public_c_function_from_cdylib)" -eq "1" ]
|
||||||
# Check that a proc macro exports the public #[no_mangle] functions of dependencies
|
# Check that a proc macro exports the public #[no_mangle] functions of dependencies
|
||||||
[ "$$($(NM) $(TMPDIR)/$(CDYLIB_NAME) | grep -v __imp_ | grep -c public_c_function_from_rlib)" -eq "1" ]
|
[ "$$($(NM) $(TMPDIR)/$(CDYLIB_NAME) | grep -v __imp_ | grep -c public_c_function_from_rlib)" -eq "1" ]
|
||||||
@ -108,7 +108,7 @@ endif
|
|||||||
[ "$$($(NM) $(TMPDIR)/$(RDYLIB_NAME) | grep -v __imp_ | grep -c public_generic_function_from_rlib)" -eq "1" ]
|
[ "$$($(NM) $(TMPDIR)/$(RDYLIB_NAME) | grep -v __imp_ | grep -c public_generic_function_from_rlib)" -eq "1" ]
|
||||||
|
|
||||||
# Check that a proc macro exports its public #[no_mangle] functions
|
# Check that a proc macro exports its public #[no_mangle] functions
|
||||||
# FIXME avoid exporting #[no_mangle] symbols for proc macros
|
# FIXME(#99978) avoid exporting #[no_mangle] symbols for proc macros
|
||||||
[ "$$($(NM) $(TMPDIR)/$(CDYLIB_NAME) | grep -v __imp_ | grep -c public_c_function_from_cdylib)" -eq "1" ]
|
[ "$$($(NM) $(TMPDIR)/$(CDYLIB_NAME) | grep -v __imp_ | grep -c public_c_function_from_cdylib)" -eq "1" ]
|
||||||
# Check that a proc macro exports the public #[no_mangle] functions of dependencies
|
# Check that a proc macro exports the public #[no_mangle] functions of dependencies
|
||||||
[ "$$($(NM) $(TMPDIR)/$(CDYLIB_NAME) | grep -v __imp_ | grep -c public_c_function_from_rlib)" -eq "1" ]
|
[ "$$($(NM) $(TMPDIR)/$(CDYLIB_NAME) | grep -v __imp_ | grep -c public_c_function_from_rlib)" -eq "1" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user