Fix more rollup problems
This commit is contained in:
parent
69e9b462e9
commit
6553c0f5eb
1 changed files with 1 additions and 0 deletions
|
@ -529,6 +529,7 @@ fairly easy, but requires a few things:
|
|||
pub extern fn hello_rust() -> *const u8 {
|
||||
"Hello, world!\0".as_ptr()
|
||||
}
|
||||
# fn main() {}
|
||||
```
|
||||
|
||||
The `extern` makes this function adhere to the C calling convention, as
|
||||
|
|
Loading…
Reference in a new issue