Psionic K
Psionic K
Building for musl is a good example of a cross build that's not really any better on a remote builder
We had some private registry support in cargo2nix and I had been meaning to at least figure out what it needed to work and get it documented, but fetching is...
> This is already implemented in dream2nix (see the cargo-lock translator). You can basically forget about the parsing and only add the granular builder. I'm re-iterating what other replies also...
The PR you referenced is next in line to get merged. I saw several people around the network hacking in arbitrary targets. I think we can get it working.
The currrent branch now contains a tested implementation of direct target setting. Stay tuned!
I got the wasi cross compiling example to work. This is different than wasm. I will have to look at an actual wasm32-unknown-unknown project to go farther. This is high...
Note the fix in place for wasi will not apply to wasm. It's just a crude if statement until I figure out the deeper issue with linker configuration. Cargo seems...
See #87 for some opinions given on import from derivation. Bundling the wasm into javascript within a Nix expression might be outside the scope for cargo2nix, but providing dependencies to...
https://github.com/nix-community/naersk/blob/master/test.nix#L38-L39 For my future self playing around in the debug shell. The .cargo/config.toml we generate is what's messing up cargo & rustc's default behaviors when given the `wasm32-X-X` targets
Rust triples and Nix triples don't always match. In this case, rust considers `wasm32-unknown-unknown` and `wasm32-wasi` to be targets while Nix needs to have some idea of a "kernel" and...