Skip to content

Add missing std feature to allow to be used as dependency of proc-macro #4

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

Merged
merged 1 commit into from
Apr 4, 2025

Conversation

GuillaumeGomez
Copy link
Member

This allows to fix this error when building proc-macro:

error[E0463]: can't find crate for `std`
  |
  = note: the `x86_64-unknown-linux-gnu` target may not be installed
  = help: consider downloading the target with `rustup target add x86_64-unknown-linux-gnu`
  = help: consider building the standard library from source with `cargo build -Zbuild-std`

r? @Urgau

@GuillaumeGomez GuillaumeGomez changed the title Add missing std feature to allow to be used as dependency of `proc-… Add missing std feature to allow to be used as dependency of proc-macro Apr 4, 2025
@Urgau Urgau merged commit 4a79ce3 into rust-lang:main Apr 4, 2025
1 check passed
@GuillaumeGomez GuillaumeGomez deleted the missing-feature branch April 4, 2025 16:08
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 this pull request may close these issues.

2 participants