-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Bindgen frequently prints "rewriting static" in its output #126887
Labels
C-bug
Category: This is a bug.
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
Comments
#126888 should fix this |
rust-timer
added a commit
to rust-lang-ci/rust
that referenced
this issue
Jun 24, 2024
Rollup merge of rust-lang#126888 - compiler-errors:oops-debug-printing, r=dtolnay Remove stray println from rustfmt's `rewrite_static` r? `@calebcartwright` `@ytmimi` -- though anyone should probably r+ this so it gets into nightly sooner than later, since it's obviously wrong. This can just be fixed in-tree, since I don't think we want to wait until the next sync to fix this. Fix rust-lang/rustfmt#6210 Fix rust-lang#126887
compiler-errors
pushed a commit
to compiler-errors/rustfmt
that referenced
this issue
Jun 25, 2024
Remove stray println from rustfmt's `rewrite_static` r? `@calebcartwright` `@ytmimi` -- though anyone should probably r+ this so it gets into nightly sooner than later, since it's obviously wrong. This can just be fixed in-tree, since I don't think we want to wait until the next sync to fix this. Fix rust-lang#6210 Fix rust-lang/rust#126887
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.
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
Code
Many crates that use bindgen are now failing. For example:
https://github.com/asomers/gstat-rs/blob/master/freebsd-libgeom-sys/build.rs
https://github.com/asomers/mdconfig/blob/master/bindgen/bindgen.sh
https://github.com/asomers/capsicum-net/blob/master/bindgen/bindgen.sh
The bindgen output looks like normal, except that it also has several
rewriting static
lines mixed in. For example:Version it worked on
It most recently worked on: rustc 1.81.0-nightly from about 2024-06-21
Version with regression
I believe the bug was introduced by commit 30cdc2b .
@rustbot modify labels: +regression-from-stable-to-nightly-regression-untriaged
The text was updated successfully, but these errors were encountered: