!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

586 Members
Rust129 Servers

Load older messages


SenderMessageTime
1 Jul 2025
@dramforever:matrix.orgdramforever for example, target/${stdenv.hostPlatform.rust.rustcTargetSpec}/ vs target/${stdenv.hostPlatform.rust.cargoShortTarget}/ 14:43:18
@dramforever:matrix.orgdramforever * for example, target/${stdenv.hostPlatform.rust.rustcTarget}/ vs target/${stdenv.hostPlatform.rust.cargoShortTarget}/ 14:43:27
@qyliss:fairydust.spaceAlyssa RossWell that one actually is already clearly documented14:43:37
@dramforever:matrix.orgdramforever or even target/${stdenv.hostPlatform.rust.rustcTargetSpec}/ 14:43:40
@qyliss:fairydust.spaceAlyssa RossSo not sure we can do too much about that. I don't think we can merge them because they're fundamentally different things.14:43:55
@dramforever:matrix.orgdramforever wait, i don't understand what rustcTarget is then 14:46:40
@qyliss:fairydust.spaceAlyssa RossAway from computer for a moment but it's very rare for rustcTarget to be the right thing.14:53:49
@qyliss:fairydust.spaceAlyssa Ross I think "--set=target.${stdenv.hostPlatform.rust.rustcTarget}" would be a correct use of rustcTarget 15:12:43
@qyliss:fairydust.spaceAlyssa Rossin rustc.nix15:12:51
@qyliss:fairydust.spaceAlyssa RossBut I'm getting more confused the more I look at it15:14:33
@qyliss:fairydust.spaceAlyssa RossI would like to understand what the process of configuring the rustc build for a custom target looks like15:16:20
@qyliss:fairydust.spaceAlyssa Rossand I'm also now less certain than I was that they couldn't be unified15:16:51
@emilazy:matrix.orgemilyperfect time to hack on custom JSON targets for Nixpkgs15:17:01
@qyliss:fairydust.spaceAlyssa RossOh yes please15:17:22
@emilazy:matrix.orgemilyno no I meant you15:17:40
@dramforever:matrix.orgdramforeveri just wanted to enable frame pointers for rust15:27:39
@qyliss:fairydust.spaceAlyssa Rossyou can do that though?15:28:33
@qyliss:fairydust.spaceAlyssa Rossthat's totally orthogonal to this15:28:36
@dramforever:matrix.orgdramforeveryes, i can do that, i meant that as more of a "and now i'm down this rabbit hole"15:29:27
@qyliss:fairydust.spaceAlyssa Rossah, right :)15:31:04
@dramforever:matrix.orgdramforeverespecially if we're sure that r-h-f can just be broken sometimes15:31:44
@dramforever:matrix.orgdramforeverwait, if i drop the lib change in https://github.com/NixOS/nixpkgs/pull/420797, we're left with an eval error on rust-hypervisor-firmware15:33:53
@dramforever:matrix.orgdramforeveris that okay?15:33:55
@qyliss:fairydust.spaceAlyssa RossIt's almost always broken15:33:57
@qyliss:fairydust.spaceAlyssa RossIn fact it seems like it's already broken15:34:30
@qyliss:fairydust.spaceAlyssa RossSo you're just changing which eval error it produces?15:34:40
@dramforever:matrix.orgdramforeverlol15:35:08
@qyliss:fairydust.spaceAlyssa RossReally I don't know why this package still exists15:35:22
@qyliss:fairydust.spaceAlyssa RossI wonder when it last evaluated15:35:30
@dramforever:matrix.orgdramforever wait, but then everyone else using rust.platform is also broken 15:35:41

Show newer messages


Back to Room ListRoom Version: 6