Configure Bazel build system to cross-compile Rust targets from MacOS to Linux

Job ID: 32890147

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: [login to view URL]

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: [login to view URL]

There is also a dedicated branch which can be checked out to easily reproduce the issue: [login to view URL]

The deliverable for this assignment is the following:

- For the branch [login to view URL], running `bazel build //... --platforms //build/platform:musl` should compile successfully

- Update the README in case additional tooling needs to be installed or set up