跳转到内容

欢迎来到Riguz的小站!这是一个私人wiki,用来记录一些我的笔记。

“Rust basics”的版本历史

差异选择:选中要对比的修订的单选按钮,然后按Enter键或下面的按钮。
说明:(当前)=与最后修订的差异,(之前)=与上个修订的差异,小=小编辑。

2023年12月19日 (星期二)

2019年10月22日 (星期二)

  • 当前之前 00:002019年10月22日 (二) 00:00 imported>Riguz 6,668字节 +6,668 使用rust语言编写hello world再容易不过了: ```rust fn main() { println!("Hello world!"); } ``` 然后利用rustc编译器编译即可: ```bash rustc hell.rs -o hello.out && ./hello.out ```