Documentation
For most projects, you will be using the nix
crate.
The documentation for the specific version of the crate you will be using can be found at https://rust.cs.vt.edu/docs/nix/.
Installation
-
Install Rust: Follow the instructions on https://rustup.rs/.
If you want to develop on
rlogin
, make sure to follow the instructions for Unix systems. You may find that there is already an existing Rust install, but you should install a local version. Replyyes
to the prompt to ignore the existing installation of Rust.To confirm that you have successfully installed Rust locally on
rlogin
, run the following:$ which {rustup,cargo,rustc} # The binaries should be in your home directory ~/.cargo/bin/rustup ~/.cargo/bin/cargo ~/.cargo/bin/rustc
-
Set up VSCode for Rust development.
-
Install the rust-analyzer extension
Make sure the button says “Install in SSH”
OR
-
Set up Neovim for Rust develpoment.
- Connect to rlogin through SSH in the terminal
-
Install rust-analyzer through
rustup component add rust-analyzer
-
Navigate to
~/.config
- Clone the provided starter configuration:
$ git clone https://git.cs.vt.edu/cs3984-systems-rust/nvim.git
It is recommended that you are at least familiar with the basics of Vim/Neovim before committing to this option.