-
Couldn't load subscription status.
- Fork 2
Description
While working at #3 and getting a from-source toolchain working would help to enable easier patching of risc0 source for better compatibility with the nix sandbox, it's worth considering how the existing rust binaries could be tweaked to get them working.
Currently, the major blocker is that when doing a simple cargo run of the template example, the tool attempts to detect the risc0 toolchain using rustup.
This is an issue because:
- We don't use rustup to install the toolchain and
- We don't have rustup installed anyway.
We could potentially resolve this by using makeWrapper to wrap the binaries with a dummy rustup path that returns the expected values, and use a symlink to the store at the expected installation location.
This is only really valid for the last stable release of their rust toolchain (1.85.0) as it looks like the behaviour has changed significantly since then to instead revolve around their rzup tool.