!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

681 Members
Rust154 Servers

Load older messages


SenderMessageTime
12 Feb 2026
@sckova:unredacted.orgsckova (alt) joined the room.15:21:19
@sckova:unredacted.orgsckova (alt) changed their display name from sckova to sckova (he/him).15:24:36
@amadaluzia:unredacted.orgamadaluzia changed their profile picture.17:48:01
@amadaluzia:unredacted.orgamadaluzia changed their profile picture.17:48:39
@amadaluzia:unredacted.orgamadaluzia changed their profile picture.17:51:25
@amadaluzia:unredacted.orgamadaluzia changed their profile picture.17:51:43
@amadaluzia:unredacted.orgamadaluzia changed their profile picture.18:00:12
@sckova:unredacted.orgsckova (alt) changed their display name from sckova (he/him) to sckova (alt).20:02:41
@llang:matrix.orgllang joined the room.23:00:57
13 Feb 2026
@hoplophfeil:matrix.orghoplopf joined the room.10:19:53
@lengorbital:matrix.org@lengorbital:matrix.org removed their profile picture.18:48:26
@lengorbital:matrix.org@lengorbital:matrix.org removed their display name klbr-l0673.18:48:41
@lengorbital:matrix.org@lengorbital:matrix.org left the room.18:49:05
14 Feb 2026
@logn:zirco.devLogan Devine
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

04:36:39
@logn:zirco.devLogan DevineI tried enabling the RA feature in my flake and telling vscode to use that rust-analyzer instead, still to no avail.. :/04:37:10
@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.devLogan Devine

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.devLogan DevineHm, 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.devLogan Devine https://github.com/zirco-lang/zrc/blob/main/flake.nix 18:13:32
@logn:zirco.devLogan DevineThe 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.devLogan DevineI 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.devLogan DevineNothing 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.devLogan Devinehopefully yea, i'll give it a try18:26:59
@logn:zirco.devLogan DevineUsing rustup rust-analyzer in contrast to rust-bin appears to work18:58:10

Show newer messages


Back to Room ListRoom Version: 6