Skip to content
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

Can't build arrayvec 0.7.5 - unresolved import std::path (for no std) #273

Closed
abdallahalsamman opened this issue Aug 17, 2024 · 8 comments · Fixed by #274
Closed

Can't build arrayvec 0.7.5 - unresolved import std::path (for no std) #273

abdallahalsamman opened this issue Aug 17, 2024 · 8 comments · Fixed by #274

Comments

@abdallahalsamman
Copy link

error[E0432]: unresolved import std::path
--> C:\Users\evex.cargo\registry\src\index.crates.io-6f17d22bba15001f\arrayvec-0.7.5\src\array_string.rs:8:10
|
8 | use std::path::Path;
| ^^^^ could not find path in std

@bluss
Copy link
Owner

bluss commented Aug 17, 2024

Thanks for reporting. Which rust platform and rust version?

@bluss bluss changed the title critical bug in 0.7.5 unresolved import std::path critical bug in 0.7.5 unresolved import std::path (for no std) Aug 17, 2024
@IvanUkhov
Copy link

It fails for me on the latest Ubuntu runner by GitHub, for instance.

@bluss bluss changed the title critical bug in 0.7.5 unresolved import std::path (for no std) Can't build arrayvec 0.7.5 - unresolved import std::path (for no std) Aug 17, 2024
@bluss
Copy link
Owner

bluss commented Aug 17, 2024

ok, it's no-std, I can see that now. It doesn't have a test in CI apparently.

@thejpster
Copy link

Will there be a 0.7.6 with this fix? Will 0.7.5 be yanked for being a breaking change for no_std users?

@bluss
Copy link
Owner

bluss commented Aug 17, 2024

0.7.6 is released now

@thejpster
Copy link

amazingly fast work. Thank you.

@bluss
Copy link
Owner

bluss commented Aug 17, 2024

Well, scary how fast multiple people noticed something broke. At least good that we now have CI coverage here for that facet (no-std)..

@thejpster
Copy link

thejpster commented Aug 17, 2024

Consider yourself a small, unpaid, peg in a very large stack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants