Open blackgnezdo opened 10 months ago
Something we could do is add a repository rule that allows you to set local paths to files that get symlinked into an external repository that can then be used in a toolchain. I'd be happy to review a PR for that 😄
OK, maybe I will feel inspired enough some day.
I am trying to use
rules_rust
on OpenBSD which is currently not supported. I read the docs to the point of discoveringrust_toolchain
which seems to fit the pattern. Sadly my attempt is currently failing with:The code is available at https://github.com/blackgnezdo/rop.
What's the easiest way to build rust programs with a local toolchain?
If that's not the way to go, how do I extend
rules_rust
to add support for OpenBSD? I could conceivably host the bundle, or just keep a directory around and reference it withlocal_repository
. What's the recipe for building the toolchain bundles?