Skip to content

Running the code

Jose Emilio Labra Gayo edited this page Aug 31, 2024 · 2 revisions

Running the code

From binaries

Download a binary release.

Fast compiling with a bit slow run mainly during development

This option runs very fast but the compiled code is not optimized so for long processes it could be slow.

cargo run

Compiling to optimized binary and running

Compile the code with the -r (release) option to generate optimized code:

cargo build -r

And the executable can be run with:

target/release/sx
Clone this wiki locally