Danny Milosavljevic <dan...@scratchpost.org> writes: > Hi, > > so it seems I got the cargo-build-system to work for large-ish Rust > dependency trees now. It still can't pick up transitive dependencies but hey > :P > > However, some of the Rust crates have a "windows" target which fails. > > For these I'd like to pass "--cfg=unix" and I'd like to put it into the > package recipe and not hardcode it into the build system. > > I saw that there's a "cargo-build-flags" parameter. However, specifying it > like > > (arguments > `(#:cargo-build-flags '("--cfg=unix" "--release"))) > > gives me "invalid keyword argument"... > > Why? > >
It does indeed, and this would fix the bug I filed. I've cut down the number of crates I packaged from 160 to 81 just by removing the *32-sys and winapi dependencies after reading a bit about the system. -- ♥Ⓐ ng0 PGP keys and more: https://n0is.noblogs.org/ http://ng0.chaosnet.org