!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

651 Members
Rust147 Servers

Load older messages


SenderMessageTime
28 Jun 2025
@emilazy:matrix.orgemily(as in the compiler. maybe we can)13:36:55
@emilazy:matrix.orgemily(I figured it would be one of those things that exhausts the address space)13:37:06
@qyliss:fairydust.spaceAlyssa RossWe could last I checked13:37:13
@qyliss:fairydust.spaceAlyssa RossWhich was probably a year or so ago13:37:32
@emilazy:matrix.orgemilydo we actually on Hydra?13:37:40
@qyliss:fairydust.spaceAlyssa RossNo idea13:37:48
@emilazy:matrix.orgemily
In reply to @emilazy:matrix.org
would it not be doable as just a flag to the rustc build otherwise?
actually maybe not because of the Rust build forgets everything you tell it thing
13:42:05
@emilazy:matrix.orgemilyso wrapper injection may be unavoidable :/13:42:20
@emilazy:matrix.orgemilyat least until we do target configuration files13:42:37
@qyliss:fairydust.spaceAlyssa RossOr we do it via build systems13:44:51
@qyliss:fairydust.spaceAlyssa RossThat would also be fine, right?13:45:00
@dramforever:matrix.orgdramforeveri need to check what we actually do for x86-3213:46:58
@dramforever:matrix.orgdramforeveron the other hand, if we really don't do i686 rust then even if i check targetPlatform, dropping the check is zero rebuilds13:52:48
@dramforever:matrix.orgdramforever* on the other hand, if we really don't do i686 rust in hydra then even if i check targetPlatform, dropping the check is zero rebuilds13:52:56
29 Jun 2025
@c0d3h01:matrix.org@c0d3h01:matrix.org joined the room.09:37:18
@vedantmgoyal:beeper.com@vedantmgoyal:beeper.com left the room.09:48:37
@dramforever:matrix.orgdramforeversanity check, there's no reason here in cargoSetupHook https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/rust/hooks/default.nix we only set crt-static if host != target, right?17:16:16
@emilazy:matrix.orgemilyI think Rust already knows for the host platform17:29:20
@emilazy:matrix.orgemilyor something17:29:22
@dramforever:matrix.orgdramforeveroooh that would makes sense17:30:21
@dramforever:matrix.orgdramforeverbut then it also shouldn't hurt right? i want to refactor out the rustflags part into a function so we call it twice, once for host and once for target17:31:03
@qyliss:fairydust.spaceAlyssa RossRedacted or Malformed Event17:34:57
@qyliss:fairydust.spaceAlyssa Rossif you set that to static you break proc macros17:35:01
@qyliss:fairydust.spaceAlyssa Rossso you never want that17:35:03
@dramforever:matrix.orgdramforeveroof thanks for the catch17:35:40
@qyliss:fairydust.spaceAlyssa Rossgetting crt-static to work right took a huge amount of investigation and iteration17:36:23
@qyliss:fairydust.spaceAlyssa Rossso I would be very careful changing anything about it17:36:39
@dramforever:matrix.orgdramforeveryeah i'm gonna preserve this17:39:55
@dramforever:matrix.orgdramforeveruh, idk if this is too cursed to worth supporting but is that one still broken if we cross from musl static to musl dynamic?18:10:12
@qyliss:fairydust.spaceAlyssa RossYou can't build on static platforms in Nixpkgs, to my knowledge18:13:21

Show newer messages


Back to Room ListRoom Version: 6