Skip to content

Instantly share code, notes, and snippets.

@rust-play
Created September 21, 2018 19:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rust-play/4f4ffeec06f4c52f8facb3a4b529e267 to your computer and use it in GitHub Desktop.
Save rust-play/4f4ffeec06f4c52f8facb3a4b529e267 to your computer and use it in GitHub Desktop.
Code shared from the Rust Playground
#[no_mangle]
pub fn write(message: &str) {}
fn main() {
write("hello world");
println!("hello world");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment