mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-26 06:35:27 +00:00
rollup merge of #22484: riginding/master
This commit is contained in:
commit
b90e40718f
@ -541,6 +541,6 @@ pub extern fn hello_rust() -> *const u8 {
|
||||
|
||||
The `extern` makes this function adhere to the C calling convention, as
|
||||
discussed above in "[Foreign Calling
|
||||
Conventions](guide-ffi.html#foreign-calling-conventions)". The `no_mangle`
|
||||
Conventions](ffi.html#foreign-calling-conventions)". The `no_mangle`
|
||||
attribute turns off Rust's name mangling, so that it is easier to link to.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user