tools/ci: Add Rust Target for QEMU RISC-V 64-bit #73
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR updates the Docker Image for NuttX CI, so that it builds Rust Apps correctly for QEMU RISC-V 64-bit. We add the Rust Target for
riscv64gc-unknown-none-elf
to the Docker Image.In the next PR, we will call the Updated Docker Image to compile the Rust App
leds_rust
, at every run of NuttX CI. This will validate whether Rust Apps are built correctly for QEMU RISC-V 64-bit.Modified Files
tools/ci/docker/linux/Dockerfile
: Add Rust Targetriscv64gc-unknown-none-elf
for Docker CItools/ci/platforms/ubuntu.sh
: Same as above, but for Ubuntu CItools/ci/platforms/msys2.sh
: Same as above, but for MSYS2 CIImpact
No impact on existing CI, since the Rust Target
riscv64gc-unknown-none-elf
is not used by existing code.Testing
We tested the CI Docker Image by rebuilding it (only the essential parts), and running the CI Build for
rv-virt:*
. Which successfully compilesrv-virt:leds64_rust
and the Rust Appleds_rust
: