Info
This post is auto-generated from RSS feed The Rust Programming Language Forum - Latest topics. Source: Why cargo ignores some part of .cargo/config.toml on NixOS?
I am writing an operating system in rust, and I am recently working on NixOS. But when I was trying to run it, I found that the [target.'cfg(target_os = "none")']
section seems to be ignored by cargo, because limine won't try to find the .dynamic
section if cargo doesn't ignore that part, To be make sure it was not my problem, I switched back to Arch Linux and tried again. To my surprise, it worked well. So why did cargo ignore some part of .cargo/config.toml
on NixOS? Has anyone else experienced any problem similar to this?
4 posts - 2 participants
🏷️ rust_feed