Configure Bazel build system to cross-compile Rust targets from MacOS to Linux
Budget: $30 – $250 USD
I am looking for an engineer with knowledge of Bazel and Rust.
The goal of this assignment is to configure Bazel to cross-compile Rust targets from MacOS to Linux.
The starting point for this assignment is the following demo project: https://github.com/nickdecooman/bazel-rust-docker-example
The project already supports basic support for cross-compiling targets from MacOS to Linux. However, this does not work for Rust macros. More info about the issue can be found here: https://github.com/nickdecooman/bazel-rust-docker-example/issues/1
There is also a dedicated branch which can be checked out to easily reproduce the issue: https://github.com/nickdecooman/bazel-rust-docker-example/tree/macros-cross-compile
The deliverable for this assignment is the following:
- For the branch https://github.com/nickdecooman/bazel-rust-docker-example/tree/macros-cross-compile, running `bazel build //... --platforms //build/platform:musl` should compile successfully
- Update the README in case additional tooling needs to be installed or set up
The goal of this assignment is to configure Bazel to cross-compile Rust targets from MacOS to Linux.
The starting point for this assignment is the following demo project: https://github.com/nickdecooman/bazel-rust-docker-example
The project already supports basic support for cross-compiling targets from MacOS to Linux. However, this does not work for Rust macros. More info about the issue can be found here: https://github.com/nickdecooman/bazel-rust-docker-example/issues/1
There is also a dedicated branch which can be checked out to easily reproduce the issue: https://github.com/nickdecooman/bazel-rust-docker-example/tree/macros-cross-compile
The deliverable for this assignment is the following:
- For the branch https://github.com/nickdecooman/bazel-rust-docker-example/tree/macros-cross-compile, running `bazel build //... --platforms //build/platform:musl` should compile successfully
- Update the README in case additional tooling needs to be installed or set up