!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

676 Members
Rust153 Servers

Load older messages


SenderMessageTime
26 Jul 2025
@emilazy:matrix.orgemilywe leave a TODO saying to do that and then forget about it09:57:49
@emilazy:matrix.orgemily(for bonus points you can prepare the follow-up immediately and label it waiting for branch-off)09:58:21
@emilazy:matrix.orgemily
In reply to @emilazy:matrix.org
we leave a TODO saying to do that and then forget about it
there's stuff in lib saying like drop me in 23.05
09:58:55
@emilazy:matrix.orgemilyevery time I see it I consider dropping it but I sort of want to see how long it can last09:59:24
@emilazy:matrix.orgemilylike waiting to see if it'll grow mould or something09:59:47
@niklaskorz:matrix.orgniklaskorz the throw can just be removed entirely if we just check for the presence of an explicit args ? useFetchCargoVendor 10:01:18
@niklaskorz:matrix.orgniklaskorzah wait no10:01:23
@emilazy:matrix.orgemilythat downgrades to a warning10:01:32
@niklaskorz:matrix.orgniklaskorzwe wanted a warning10:01:26
@niklaskorz:matrix.orgniklaskorznot an error10:01:38
@emilazy:matrix.orgemilybut it needs to be a throw because the FOD hash changed10:01:45
@niklaskorz:matrix.orgniklaskorzyeah right10:01:44
@emilazy:matrix.orgemilyI mean we shipped the throw in 25.06 so it wouldn't be too bad to drop it10:02:05
@niklaskorz:matrix.orgniklaskorzbut also they would get the warning in addition to the error10:02:14
@emilazy:matrix.orgemilybut if we have the warning might as well keep both for one more cycle and drop together10:02:16
@niklaskorz:matrix.orgniklaskorzso I don’t think the error has to be reworded10:02:21
@emilazy:matrix.orgemily
In reply to @niklaskorz:matrix.org
but also they would get the warning in addition to the error
put the throw first using or
10:02:26
@emilazy:matrix.orgemily throwIf (!(args.useFetchCargoVendor or true)) 10:03:11
@emilazy:matrix.orgemily
In reply to @niklaskorz:matrix.org
so I don’t think the error has to be reworded
oh I see
10:03:39
@emilazy:matrix.orgemilythe throw will cause a back trace and stuff though10:03:54
@niklaskorz:matrix.orgniklaskorzno need to change the default value10:03:59
@emilazy:matrix.orgemilyI'd feel better about having all the info there10:04:02
@emilazy:matrix.orgemilynot a big deal though10:04:05
@emilazy:matrix.orgemily
In reply to @niklaskorz:matrix.org
no need to change the default value
I think the default value breaks ?? actually I guess it probably doesn't
10:04:23
@emilazy:matrix.orgemilyattrsets so weird10:04:28
@emilazy:matrix.orgemilyanyway do whatever, it's all nitpicking :P10:04:40
@emilazy:matrix.orgemilyeven the warning is automated nitpicking 😆10:04:56
@niklaskorz:matrix.orgniklaskorz
nix-repl> ({ useFetchCargoVendor ? true } @ attrs: attrs ? useFetchCargoVendor) { }
false

nix-repl> ({ useFetchCargoVendor ? true } @ attrs: attrs ? useFetchCargoVendor) { useFetchCargoVendor = true; }
true
10:05:23
@emilazy:matrix.orgemilyI'm not even sure we should ship it in the final release since it's probably annoying for users with epsilon benefit but meh10:05:25
@emilazy:matrix.orgemily right, because attrs is the unprocessed value. brain was just off for a second 10:05:53

Show newer messages


Back to Room ListRoom Version: 6