-
Notifications
You must be signed in to change notification settings - Fork 796
rewriting static string in generated bindings #2852
Copy link
Copy link
Closed
Description
Input C/C++ Header
#define test 0Bindgen Invocation
$ cargo --version
cargo 1.81.0-nightly (bc89bffa5 2024-06-22)
$ git describe
v0.69.1-94-gcf9b02f5
$ cargo run -- repro.h
Actual Results
/* automatically generated by rust-bindgen 0.69.4 */
rewriting static
pub const test: u32 = 0;Expected Results
The generated bindings should compile properly and not contain arbitrary strings.
notes:
- even occurs with 0.69.4 from crates.io and when invoking
Builder::generatefrombuild.rs - only occurs since nightly-2024-06-23, nightly-2024-06-22 still works
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.