Skip to content

rust: build, check and test in the docker container#10

Merged
pac-work merged 10 commits intopac-work:rust-bindingsfrom
bisect-pt:pf/build-in-container
Sep 26, 2025
Merged

rust: build, check and test in the docker container#10
pac-work merged 10 commits intopac-work:rust-bindingsfrom
bisect-pt:pf/build-in-container

Conversation

@pedro-alves-ferreira
Copy link

  • updates the Dockerfiles so that all the tools needed for building, checking and testing the Rust bindings are included
    • including nextest, so that we can generate test reports compatible with the C++ ones.
  • adjusts the build system so that libmxl is built in Rust's target directory
    • uses the CMake presets appropriately, to match the settings used in CMake.

- Add a new forlder for scripts that can be
used to avoid duplicating code across Dockerfiles.
- Add a script to install rust and related tools

Signed-off-by: Pedro Ferreira <pedro@bisect.pt>
Signed-off-by: Pedro Ferreira <pedro@bisect.pt>
Signed-off-by: Pedro Ferreira <pedro@bisect.pt>
Assume that mxl is always built in the target directory.

Signed-off-by: Pedro Ferreira <pedro@bisect.pt>
Signed-off-by: Pedro Ferreira <pedro@bisect.pt>
Signed-off-by: Pedro Ferreira <pedro@bisect.pt>
Signed-off-by: Pedro Ferreira <pedro@bisect.pt>
Signed-off-by: Pedro Ferreira <pedro@bisect.pt>
Signed-off-by: Pedro Ferreira <pedro@bisect.pt>
Signed-off-by: Pedro Ferreira <pedro@bisect.pt>
# Install cargo binstall
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash

cargo binstall cargo-audit --locked
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor detail, cargo audit is 2x here in this list.

@pac-work pac-work merged commit 8b210b3 into pac-work:rust-bindings Sep 26, 2025
0 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants