Rust

Rust is a general-purpose programming language with an emphasis on performance, type safety, and concurrency. It enforces memory safety without a traditional garbage collector, preventing data races and memory safety errors via the "borrow checker". The Rust module provides rustc and cargo.

Availability and Restrictions

Versions

The following versions of Rust are available on OSC clusters:

Version Pitzer Cardinal
1.81.0 X* X*
* Current default version

You can use module spider rust to view available modules for a given machine. Feel free to contact OSC Help if you need other versions for your work.

Access

Rust is available to all OSC users. If you have any questions, please contact OSC Help.

Usage

Usage on Pitzer

Set-up

To configure your environment for use of Rust, run the following command:  module load rust. The default version will be loaded. This will load cargo and rustc into the environment

Usage on Cardinal

Set-up

To configure your environment for use of Rust, run the following command:  module load rust. The default version will be loaded. This will load cargo and rustc into the environment


Further Reading

Tag: 
Supercomputer: 
Service: 
Fields of Science: