| Hi all -- anybody doing much bare-metal embedded work with nix + rust?
I'm a novice and just learning for fun, but can't seem to get a build to succeed due to multiple conflicting dependencies for build-std for an attiny85. Builds and runs on my aarch64-darwin machine outside of nix, just trying to see if I can get it to work in nix as well (via oxalica/rust-overlay).
For my prior ESP32C3 projects, I know that build-std often requires adding some additional dependencies that are not needed when building outside of nix tooling; I've previously added these to the dev requirements.
Unfortunately in this case, I'm finding that both wasi = "0.14.4" and wasi = "0.11.0" are required, and obviously I can't list both.
Does anyone know of a workaround for this? It looks like naersk may have support for an "additional" Cargo.lock, but I'd rather not learn a new pattern if there is a way to accomplish this with standard nix tooling (and oxalica for nightly).
Thanks for any suggestions!
My WIP: https://github.com/n8henrie/attiny85-relay/tree/nix
|