[Pre-RFC] Bulk visibility syntax
Rust Internals [Unofficial]
April 11, 2026
scottmcm:
Remember that
extern "C" fn foo() { ... }andextern "C" { fn foo(); }are completely different.
Off topic, but I've wondered whether these could/should have been unified—whether unsafe extern "C" { fn foo(); } should have been spelled #[unsafe(no_mangle)] extern "C" fn foo();.
Discussion in the ATmosphere