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

The imports removed in 0.10.4 causes the inability to use no_std #278

Closed
GZTimeWalker opened this issue May 27, 2024 · 0 comments · Fixed by #279
Closed

The imports removed in 0.10.4 causes the inability to use no_std #278

GZTimeWalker opened this issue May 27, 2024 · 0 comments · Fixed by #279

Comments

@GZTimeWalker
Copy link
Contributor

GZTimeWalker commented May 27, 2024

The deletions in the diff has destroyed support for no_std introduced in v0.10.3.

You can simply change Cargo.toml to reproduce this issue on your local:

[features]
- default = ["std"]
+ default = []

Then you'll find large number of errors caused by Vec / Sized etc.

Related issue: rust-lang/rust#121362 rust-lang/rust-clippy#12335 rust-lang/rust#121708

The rust community is still working on this lint issue, as a suggestion, @kirk-baird, may you fix the errors?

cc @Kerollmops

Getting the code to work is more important than clippy's advice.

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.

1 participant