On Sun, Dec 22, 2024 at 12:06:23PM +0100, Gabor Gero via wrote: > Hello, > <snip> > > The problem is that if I try to build it via guix build, while all the Rust > dependencies get pulled in by guix perfectly fine, once it reaches the build > stage, cargo prints the following warning: > "warning: > `/tmp/guix-build-pointersearcher-x-0.7.4-dylib.drv-0/source/.cargo/config` is > deprecated in favor of `config.toml` > note: if you need to support cargo 1.38 or earlier, you can symlink `config` > to `config.toml`" > and attempts to download argh and rayon. What am I doing wrong?
We install the generated config.toml in .cargo/config instead of in .cargo/config.toml because in the past any file in .cargo/config would override any settings in the config.toml file. Sometimes upstream ships the sources with their settings there and it breaks builds inside Guix. You can ignore the warning. I figure I'll move the file to config.toml when the warning becomes an error. So you're not doing anything wrong. I should investigate and see if it's still the case that .cargo/config takes precedence over .cargo/config.toml or see if there's some flag or something we can be passing to force reading our config specifically. -- Efraim Flashner <[email protected]> אפרים פלשנר GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted
signature.asc
Description: PGP signature
