Login
You're viewing the discuss.systems public feed.
  • Mar 19, 2026, 5:27 PM

    @AVincentInSpace Hmm... I think nix strips them by default and you have to disable it, at least that's how it behaves here.

    One other source of the discrepancy might be a feature unification or lack of it in crate2nix. But I would expect this will make the resulting binary bigger, not smaller.

    Are you linking in any external libraries? This can be a source of the difference. I'd run `cargo build -vvv` or something similar and compare all the rustc invocations, possibly with a script.

    💬 0🔄 0⭐ 0