!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

699 Members
Rust161 Servers

Load older messages


SenderMessageTime
17 Apr 2026
@emilazy:matrix.orgemilyI did always think it was odd that such an esoteric complicated interface was stable10:14:18
@emilazy:matrix.orgemilythe definitive proof I live in opposite world is that everyone else's favourite part of Rust (Cargo, the toolchain UX, etc.) is my least favourite10:16:07
@crony:cronyakatsuki.xyzCrony Akatsuki (balkan/slav) Nope, you are better of than me10:32:48
@crony:cronyakatsuki.xyzCrony Akatsuki (balkan/slav) I don't like rust in general. I just package some rust programs from time to time10:33:22
@pyrox:pyrox.devdish [Fox/It/She] changed their profile picture.16:58:36
@ralith:ralith.comRalithcargo's in a weird spot where it's worlds better than what most people are used to but worlds worse than what a build system can be20:04:55
@ralith:ralith.comRalithultimately it generally achieves what it sets out to do and they've been good about ensuring rustc isn't tightly coupled to it20:05:22
@emilazy:matrix.orgemilybuild.rs ruined everything22:35:33
@emilazy:matrix.orgemilyif not for that it might have been okay22:35:35
@emilazy:matrix.orgemily(but yeah I know, tradeoffs. I get why it's very nice for most people)22:35:59
@emilazy:matrix.orgemilyproblem is the entire ecosystem orbits around it so a better build system for Rust isn't really achievable, or rather, it still has to pay the cost of the bad things about Cargo and friends22:36:55
@figsoda:matrix.orgfigsodaif build.rs didnt exist people will still find a way (proc macros) to do the things build.rs does like running pkg-config22:42:35
@whispers:catgirl.cloudwhispers [& it/fae]the biggest problem to me is that there aren't more structured ways to the tasks that people usually need. like, in this case, everyone has reinvented running pkg-config and then trying to build the library if you have a feature enabled and so you get to gamble on whether it's any good or you have overrides or anything like that22:44:48
@whispers:catgirl.cloudwhispers [& it/fae] it takes the idea of maximal flexibility (which you're probably right, people would find a way to do given the rest of landscape) and effectively pushes it into the common case so that even normal tasks require this machinery which is inconsistent and resistant to introspection 22:46:19
@whispers:catgirl.cloudwhispers [& it/fae] * it takes the idea of maximal flexibility (which you're probably right, people would find a way to do given the rest of language) and effectively pushes it into the common case so that even normal tasks require this machinery which is inconsistent and resistant to introspection 22:46:51
@whispers:catgirl.cloudwhispers [& it/fae] * it takes the idea of maximal flexibility (which you're probably right, people would find a way to do given the rest of language) and effectively pushes it into the common case so that even normal tasks require this machinery which is ad-hoc, inconsistent, and resistant to introspection 22:47:08
@whispers:catgirl.cloudwhispers [& it/fae]i suspect a lot of it (e.g. this case of library loading) is mostly down to the fact that it's a lot of work to get right and so it was never implemented, but the effects are the same22:48:28
@whispers:catgirl.cloudwhispers [& it/fae] * 22:48:56
@whispers:catgirl.cloudwhispers [& it/fae] * 22:49:33
@figsoda:matrix.orgfigsoda something like system-deps built into cargo would definitely be interesting to see 22:58:21
@gsaurel:laas.frnim65sdo you think a bazel(-ish) layer would help ?23:06:06
@emilazy:matrix.orgemilyunsandboxed proc macros were also a mistake :)23:25:05
@emilazy:matrix.orgemily but tbh cc crate is a worse offender than anything pkg-config-related 23:25:17
@figsoda:matrix.orgfigsodaagreed23:31:47
18 Apr 2026
@tumble1999:matrix.orgTumbleare you supposed to put Cago.lock in gitignore?15:15:49
@tumble1999:matrix.orgTumble i was thinking of building this for myself
https://github.com/waywallen/waywallen/blob/main/.gitignore
but they gitignored the Cargo.lock file
15:16:03
@tumble1999:matrix.orgTumble* are you supposed to put Cargo.lock in gitignore?15:16:16
@k900:0upti.meK900Generally no15:16:23
@k900:0upti.meK900Also holy shit is that overengineered15:17:33
@tumble1999:matrix.orgTumblewhy are most of the things i decide to compile myself, aways have a weird build setup15:18:15

Show newer messages


Back to Room ListRoom Version: 6