This PR adds the possibility to include Rust scripts in SailTrack Core OS. In particular, this PR adds:
A Cargo project in the root of the repository with the source files for the script placed in src/bin
A complete build system implemented using Cargo Make that modifies the current build system to include the Rust compilation phase
A sample Rust script called sailtrack-dummy that prints "Hello, World!"
Updated documentation in DEVELOPER.md with all the instructions on how to use Rust for development
[!IMPORTANT]
Before testing this PR, read the updated DEVELOPER.md file which contains all the instructions for the setup.
The Rust support can be tested by checking out the feat/add-rust-support branch, including new scripts or modifying the existing ones under src/bin and running:
cargo make
To check and compile the sources.
The complete build system, which includes the packaging of the OS with the Rust binaries, can be tested on the GitHub runners, when this PR gets merged, or locally on a Linux computer by running:
This PR adds the possibility to include Rust scripts in SailTrack Core OS. In particular, this PR adds:
src/bin
sailtrack-dummy
that prints "Hello, World!"DEVELOPER.md
with all the instructions on how to use Rust for developmentThe Rust support can be tested by checking out the
feat/add-rust-support
branch, including new scripts or modifying the existing ones undersrc/bin
and running:To check and compile the sources.
The complete build system, which includes the packaging of the OS with the Rust binaries, can be tested on the GitHub runners, when this PR gets merged, or locally on a Linux computer by running: