mkdir test
cd test/
vim helloworld.rs
fn main(){
let test = "Hello, I love the world!";
println!("{}",test);
}
rustc helloworld.rs
./helloworld
vim ~/.cargo/config
[source.crates-io]
registry = "https://github.com/rust-lang/crates.io-index"
replace-with = 'ustc'
[source.ustc]
registry = "git://mirrors.ustc.edu.cn/crates.io-index"
cargo new rustrandom
cd rustrandom/
vim Cargo.toml
[package]
name = "