We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
0 as extern fn()
Rust allows casting 0 to a function pointer type like extern "Rust" fn(). This is unsafe.
extern "Rust" fn()
rusti: let f = 0 as extern "Rust" fn() -> int; f() -rusti:#rust- application terminated abnormally with signal 11 (Segmentation fault)