rollup merge of #22484: riginding/master
This commit is contained in:
commit
b90e40718f
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue