Fix more rollup problems

This commit is contained in:
Steve Klabnik 2015-01-17 15:25:42 -05:00
parent 69e9b462e9
commit 6553c0f5eb

View file

@ -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