!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

464 Members
Rust111 Servers

Load older messages


SenderMessageTime
13 Aug 2024
@emilazy:matrix.orgemilyyou'll be competing with me for free CPU cycles though :)19:11:46
@emilazy:matrix.orgemilyanyway, I think it is also okay to just do some spot checks and let other people review and crunch builds for wide-scale changes19:12:26
@emilazy:matrix.orgemilywe never go into any staging cycle knowing exactly what will break19:12:37
@me:linj.techlinjI try to improve composability of the rust builder and Emacs lisp builders. Here is my attempt: https://github.com/NixOS/nixpkgs/pull/334476. Any thoughts?21:13:43
14 Aug 2024
@fudgemaster:matrix.orgFrank Geusch changed their display name from Master Fudge to Frank Geusch.13:25:41
@musicmatze:beyermatthi.as@musicmatze:beyermatthi.as left the room.15:21:53
@emilazy:matrix.orgemilyI learned today that Cargo will actually refuse to resolve multiple minor versions of a SemVer-compatible major version within one dependency graph even if it's required to satisfy transitive dependencies21:04:51
@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

Show newer messages


Back to Room ListRoom Version: 6