Skip to content

Latest commit

 

History

History
57 lines (47 loc) · 953 Bytes

README.md

File metadata and controls

57 lines (47 loc) · 953 Bytes

MIT

The MIT License

License: MIT

STARTING PROYECTS IN RUST

you can copy all starting proyects by this command

git clone https://github.com/pxp9/acm_rust.git

INSTALL RUST

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

RUN AND COMPILE

cd some_proyect
cargo run

SOME PROYECTS NEED NIGHTLY RUST TO COMPILE IN ORDER TO USE IT

  • Install Nightly Rust
rustup toolchain install nightly
  • Set Nightly Rust only for one Proyect
cd some_proyect
rustup override set nightly
  • Set Nightly Rust default
rustup default nightly
  • In order to view if nightly rust is set
rustc --version
  • Should Prompt something like this if is set
rustc 1.60.0-nightly (498eeb72f 2022-01-31)
  • Also you could see all Rust versions
rustup toolchain list