this post was submitted on 08 Apr 2025
15 points (100.0% liked)
Rust
6827 readers
1 users here now
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Wormhole
Credits
- The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Yeah, apologies for not communicating the issue clearly.
And then trying to use the "release" build fails:
I will make sure to report issues directly in the future, although from account(s) not connected to this username.
The issue here is that you didn't provide
--build-sysroot
to./y.sh test --release
, so it cannot find thestd
crate.But running
does work. That's what gave me the impression that
clean all
doesn't actually clean everything!It does actually clean everything. You need to call
./y.sh prepare
again if you ranclean all
; otherwise, it will fail to find some stuff likerustc-std-workspace-alloc
.I opened an issue to improve the documentation in this regards. Thanks for testing all this: this will help me improve the documentation.
Aha! Good to know. And yes, improved documents would be of great help.
Thanks again for working on this.