Skip to content

Generate bindings compatible with current rustc version by default #3197

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
Jun 8, 2025

Conversation

dtolnay
Copy link
Member

@dtolnay dtolnay commented Apr 26, 2025

Closes #3128.

This way, when you run bindgen from a build script on Rust 1.78, the default behavior is no longer that it generates bindings that assume Rust 1.82+ that the current rustc cannot compile (#3052).

Copy link
Contributor

@emilio emilio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! This looks fair enough :)

@emilio emilio added this pull request to the merge queue Jun 8, 2025
Merged via the queue into rust-lang:main with commit 5155cfe Jun 8, 2025
33 of 34 checks passed
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.

Use the current rustc version as the default RustTarget
2 participants