Rust Installation
We will next ensure that the Rust programming language toolchain is installed on your computer. Rust is required in order to set up and compile all of the features offered by Optima, even if you are mostly interested in using Optima in Python, Webassembly, etc.
Fortunately, the Rust toolchain is very easy to install. Simply follow the one-step installation guide here. To verify that Rust has been successfully installed, run the following command:
cargo --version
Also, to verify that the newly installed Rust compiler works with the Optima Toolbox, navigate to the optima
sub-directory in the Optima Toolbox (assuming you are already in the optima_toolbox
directory.):
cd optima
Then run:
cargo test
Numerous tests should run, all passing with a result of ok
.