External Publication
Visit Post

[Pre-RFC] Bulk visibility syntax

Rust Internals [Unofficial] April 11, 2026
Source

scottmcm:

Remember that extern "C" fn foo() { ... } and extern "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

Loading comments...