!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

465 Members
Rust111 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
10 Aug 2024
@9hp71n:matrix.orgghpzin It's a feature rustup added in that PR Alyssa bisected failure to. 14:29:22
@9hp71n:matrix.orgghpzin * It's a feature rustup added in that PR Alyssa bisected failure to.
It is called "test" and not included in default features.
14:29:49
@9hp71n:matrix.orgghpzin * It's a feature rustup added in that PR Alyssa bisected failure to.
It is called "test" and not included in default features.
Unless I misread, they just added it to all their CI, ie:
cargo check --all --all-targets --features test
14:30:41
@emilazy:matrix.orgemily right, that makes sense. isn't there a feature set on by default for test builds though? oh, I guess that's #[cfg(tests)]? confusing… 14:31:55
@emilazy:matrix.orgemilyok, I will check if it is that simple :)14:32:04
@emilazy:matrix.orgemilyI'm used to habitually skipping over CI changes when checking PRs for Nixpkgs, bad habit.14:32:35
@emilazy:matrix.orgemily …but then why do tests pass on aarch64-linux??? 14:33:48
@emilazy:matrix.orgemilyohh14:34:34
@emilazy:matrix.orgemily
  doCheck = !stdenv.isAarch64 && !stdenv.isDarwin;
14:34:42
@emilazy:matrix.orgemily🤪14:34:45
@qyliss:fairydust.spaceAlyssa Rossohhh14:56:21
@emilazy:matrix.orgemilyI'm working on testing it now14:58:10
@emilazy:matrix.orgemilyI suspect we might be able to run the checks now14:58:15
@emilazy:matrix.orgemily(on those platforms)14:58:21
@emilazy:matrix.orgemilybtw, PSA for anyone interested: https://github.com/NixOS/nixpkgs/issues/33370214:58:29
@emilazy:matrix.orgemily Alyssa Ross: you said that the individual crates would have to be essentially source packages because of Cargo's demands, but is that really true? I don't know how much compilation time it'd actually save us, but we could compile libraries as rlibs, couldn't we? hell, I think we could even get away with dylib – ABI compatibility doesn't matter to us given the whole Nix thing 19:40:11
@emilazy:matrix.orgemilyI think there is at least one other distro that dynamically links Rust crates (Fedora?)19:41:24
@emilazy:matrix.orgemilyI guess there is the potential issue of packages that support multiple major SemVer versions getting locked to different things at dependency resolution time 🤔19:43:17

Show newer messages


Back to Room ListRoom Version: 6