Skip to content

Instantly share code, notes, and snippets.

@rust-play
Created January 8, 2019 06:16
Show Gist options
  • Save rust-play/2e91143f0144a5230b469fdf6c78e8cf to your computer and use it in GitHub Desktop.
Save rust-play/2e91143f0144a5230b469fdf6c78e8cf to your computer and use it in GitHub Desktop.
Code shared from the Rust Playground
#![no_std]
#![]
extern crate libc;
// #[no_std]
extern {
pub fn printf(format: *const u8, ...) -> i32;
}
fn main(){
println!("hello");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment