!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

706 Members
Rust165 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
31 Jul 2025
@dramforever:matrix.orgdramforeverhas anyone else seen this? i'm still testing it out but i just kinda want to sanity check it18:27:58
@dramforever:matrix.orgdramforever * i am currently completely baffled by rustc bootstrap.toml custom target behavior. it seems that straight up expects [target.'/path/to/target-spec.json'] 18:30:51
@dramforever:matrix.orgdramforever target.'/.../mips64el_loongson2f-unknown-linux-gnuabi64.json'.linker -> works
target.mips64el_loongson2f-unknown-linux-gnuabi64.linker -> no effect
18:33:19
@emilazy:matrix.orgemily do we use the rustc wrapper when building with Cargo? 19:33:37
@emilazy:matrix.orgemilythis matches my exepctations fwiw19:33:47
@emilazy:matrix.orgemily* this matches my expectatiosn fwiw19:33:49
@emilazy:matrix.orgemily* this matches my expectations fwiw19:33:51
@qyliss:fairydust.spaceAlyssa Ross
In reply to @emilazy:matrix.org
do we use the rustc wrapper when building with Cargo?
Yes
19:36:20
@emilazy:matrix.orgemilyanswer: yes19:36:27
@emilazy:matrix.orgemilysorry in advance Alyssa19:36:33
@dramforever:matrix.orgdramforever but cargo expects target.mips64el_loongson2f-unknown-linux-gnuabi64.linker 19:37:43
@emilazy:matrix.orgemily rustc and Cargo diverge weirdly more than you'd expect 19:38:28
@qyliss:fairydust.spaceAlyssa RossThat's why we have all those platform attrs!19:39:52
@dramforever:matrix.orgdramforeverright, so my understanding is correct19:42:55
@dramforever:matrix.orgdramforever and it is further evidence that rustcTarget is just not a thing 19:46:05
@emilazy:matrix.orgemily well, it does say rustc, not Cargo :) 19:48:30
@dramforever:matrix.orgdramforeverlast time i talked about this with alyssa we had a very heated ... not really argument, more of a hair pulling session19:55:16
@dramforever:matrix.orgdramforever where basically i'm still convinced that there is no reason to ever use rustcTarget 19:55:31

Show newer messages


Back to Room ListRoom Version: 6