!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

683 Members
Rust154 Servers

Load older messages


SenderMessageTime
14 Feb 2026
@catbrained:tchncs.decatbrained (she/her)No clue, but did you try to do a cargo clean and rebuild everything from scratch?14:01:48
@logn:zirco.devLogN

Dozens of times. This has been happening for days. It makes my editor almost unusable haha

Also it seems to recompile dependencies every time I run cargo build, so there's definitely a second compiler version in there...

14:03:00
@catbrained:tchncs.decatbrained (she/her)Hmm, uhh I think cargo/rustc might put metadata in the built artifacts. Does that contain something useful to find the culprit?14:05:47
@logn:zirco.devLogNHm, good idea14:08:25
@benjaminsparks:chat.alugha.appBen Sparks
In reply to @logn:zirco.dev
proc-macro panicked: failed to load macro: Cannot create expander for /Users/logandevine/Documents/zr/zirco-playground/api-server/target/debug/deps/libtokio_macros-f10cf80816e839ef.dylib: mismatched ABI expected: `rustc 1.95.0-nightly (47611e160 2026-02-12)`, got `rustc 1.92.0-nightly (695857bc3 2025-10-21)`rust-analyzermacro-error

Anyone have issues with VSCode's rust-analyzer on Nix in VSCode? I have a direnv set to use the flake, with the Rust I want to use installed, and vscode runs the extensions with it too. But yet, it seems to be a version mismatch, even with all my testing telling me they're both 1.95

Silly question, but what does your path / (dev)shell.nix look like?
18:06:04
@benjaminsparks:chat.alugha.appBen Sparks* Silly question, but what does your $PATH / (dev)shell.nix look like?18:13:31
@logn:zirco.devLogN https://github.com/zirco-lang/zrc/blob/main/flake.nix 18:13:32
@logn:zirco.devLogNThe metadata agreed the rustc version I thought was what seemed to be building but idk how that affects cargo check or the RA server18:13:58
@logn:zirco.devLogNI previously didn't add the rust-analyzer feature because it worked until recently with no change afaik18:14:30
@benjaminsparks:chat.alugha.appBen Sparks echo $PATH in vscode, check that your settings.json isn't doing odd thing etc. 18:14:53
@benjaminsparks:chat.alugha.appBen Sparks Use direnv and point it at your flake.{nix,lock} 18:15:32
@logn:zirco.devLogNNothing special about it in my settings afaik, I'll check the PATH when I get home. I use direnv, both the VSCode extension and for my shells18:16:16
@benjaminsparks:chat.alugha.appBen SparksYou can also try to provide cargo and rust from the overlay, by pointing them at variables given by rust-overlay :) there's a lot to try here, so I think you'll find something18:18:05
@logn:zirco.devLogNhopefully yea, i'll give it a try18:26:59
@logn:zirco.devLogNUsing rustup rust-analyzer in contrast to rust-bin appears to work18:58:10
15 Feb 2026
@yourscapegoat:matrix.orgindy joined the room.06:57:37
16 Feb 2026
@robert:scs.ems.hostRobert Rose changed their display name from Robert Rose (away 12.2 & 13.2) to Robert Rose.08:36:24
@mon:tchncs.depneumatic changed their profile picture.15:18:36
@pyrox:pyrox.devdish [Fox/It/She] https://github.com/thepowersgang/mrustc/pull/387 mrustc 1.90 support 👀 17:26:57
@pyrox:pyrox.devdish [Fox/It/She]could be reasonable to bootstrap from it now17:28:08
@qyliss:fairydust.spaceAlyssa Rossdo it quick before it desyncs again :317:30:44
@pyrox:pyrox.devdish [Fox/It/She]lmao18:00:22
@kanikaze:matrix.orgKanikaze🦀💨 joined the room.21:25:04
17 Feb 2026
@logn:zirco.devLogN changed their display name from Logan Devine to LogN.04:52:21
29 Oct 2021
@grahamc:nixos.org@grahamc:nixos.org set the history visibility to "world_readable".19:57:43
@grahamc:nixos.org@grahamc:nixos.org changed the room name to "" from "".19:57:43
@grahamc:nixos.org@grahamc:nixos.org changed the room topic to "" from "".19:57:43
@server_stats:nordgedanken.devServer Stats Discoverer (traveler bot) joined the room.19:58:21
@voyager:t2bot.ioMatrix Traveler (bot) joined the room.19:59:14
@ralith:ralith.comRalith joined the room.20:00:28

Show newer messages


Back to Room ListRoom Version: 6