Skip to content

Error while path patching libc as one of rustc's dependencies #97209

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

Closed
zetanumbers opened this issue May 20, 2022 · 3 comments
Closed

Error while path patching libc as one of rustc's dependencies #97209

zetanumbers opened this issue May 20, 2022 · 3 comments
Labels
C-bug Category: This is a bug.

Comments

@zetanumbers
Copy link
Contributor

rust-lang/libc#2794

@zetanumbers zetanumbers added the C-bug Category: This is a bug. label May 20, 2022
@zetanumbers
Copy link
Contributor Author

This can be fixed with deny-warnings = false in the config.toml, but i am not sure i it not a problem.

@zetanumbers
Copy link
Contributor Author

This is not an actual issue.

@ehuss
Copy link
Contributor

ehuss commented May 20, 2022

Yea, this is normal behavior with a path dependency. Using a path enables warnings. unused_macro_rules is a new lint that is unknown to the current beta bootstrap compiler. As soon as the bootstrap compiler is updated, the warning should go away. You can do that locally with ./x.py run src/tools/bump-stage0. Alternatively, you can just allow the warnings, or modify your local copy of libc to not include that allow lint.

I posted rust-lang/rustc-dev-guide#1354 since I've seen a few people get confused by this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug.
Projects
None yet
Development

No branches or pull requests

2 participants