-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cargo test failed on no_std Rust #100766
Comments
What exactly is the bug here? The |
Thanks for your reply. In fact, I want to use the std crate in the test environment: #![cfg_attr(not(test), no_std)] What puzzled me was that it didn't seem to work. |
What platform are you building this on? Does a |
Yes. But I think the key of this issue is |
Sorry, I think I understand the issue. Yeah, it does look like #48665 is the same issue as this. |
I'm using no_std Rust like this:
Then I found that the
cargo test
is failed:Here is my environment:
A similar issue I found is #48665
The text was updated successfully, but these errors were encountered: