!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

464 Members
Rust111 Servers

Load older messages


SenderMessageTime
14 Aug 2024
@emilazy:matrix.orgemilyhttps://doc.rust-lang.org/cargo/reference/resolver.html#semver-compatibility21:04:58
@emilazy:matrix.orgemilythat's very promising for the hopes of only packaging one minor version per major version in Nixpkgs21:05:17
@emilazy:matrix.orgemily because it means that =0.1.2 and >0.1 && <0.1.2 are already really fragile in the presence of any other crate that depends on the same crate 21:05:47
15 Aug 2024
@julius:mtx.liftm.deˈt͡sɛːzaɐ̯

Hm, say, if updating to 1.80 in nixpkgs breaks packages because 1.80 adds some warnings and those packages treat warnings as errors, why not set RUSTFLAGS=--cap-lints=warn on those packages and call it a day?
(I do wonder why it's not set globally, too. -Wno-error is not set globally either. Same reason, I suppose.)

23:54:32
16 Aug 2024
@k900:0upti.meK900It's not that you shouldn't do that 05:33:49
@k900:0upti.meK900It's that we haven't done that for staging because there's literally hundreds of those 05:34:01
@k900:0upti.meK900And we can't delay staging forever05:34:07
@emilazy:matrix.orgemilyI'm pretty sure it's a hard error, not a warning?05:39:06
@emilazy:matrix.orgemilyfor the time crate thing05:39:15
@emilazy:matrix.orgemilyor is this about the cfg thing05:39:25
@k900:0upti.meK900The time crate thing is a hard error05:41:24
@k900:0upti.meK900But there's a few new warnings too 05:41:29
@humaidq:matrix.orgHumaid joined the room.05:51:07
@damccull:matrix.orgdamccullWhy is my starship prompt telling me I have rust 1.78 in this repo but I'm in a nix devshell where everything is 1.80.1?10:54:23
@k900:0upti.meK900Are you sure?11:04:22
@k900:0upti.meK900It could be using rust-overlay or something11:04:26
@k900:0upti.meK900To get a specific rust version11:04:30
@damccull:matrix.orgdamccullYes I am sure. rustc and cargo both report 1.80.1 with --version...I wonder what it's using11:07:06
@damccull:matrix.orgdamccullMy template uses hte default $rust var11:07:47
@damccull:matrix.orgdamccullwierd11:07:48
@damccull:matrix.orgdamcculland I don't even have rust installed lol. Oh, I wonder if it's in my .rustup folder11:09:02
@damccull:matrix.orgdamccullthat's what it was...11:10:18
@damccull:matrix.orgdamccullremoving .rustup folder, which I must have created before I knew how to nix this, fixed it11:10:56
@qyliss:fairydust.spaceAlyssa Ross very few of the regressions were due to new warnings being treated as errors. In fact, after we got 1.80.1 (which fixed a false positive bug), I'm not sure there were any? 11:19:31
@artturin:matrix.orgArtturinhttps://github.com/nix-community/nixpkgs-wayland/issues/461#issuecomment-229411323620:00:53
@artturin:matrix.orgArtturin * https://github.com/nix-community/nixpkgs-wayland/issues/461#issuecomment-2294113236 20:01:35
17 Aug 2024
@sasha:the-apothecary.clubSashanoraa.gay (she/her, ze/zir) joined the room.04:55:20
@soispha:vhack.euBenedikt joined the room.06:32:37
@rvdp:infosec.exchangeRamses 🇵🇸 joined the room.09:30:45
@isabel:isabelroses.comisabel left the room.12:36:28

Show newer messages


Back to Room ListRoom Version: 6