-
-
Save ZhangHanDong/12f1cf6bcfa0587c3570a055fd6f0c8a to your computer and use it in GitHub Desktop.
Code shared from the Rust Playground
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#![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