Skip to content
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

Readme/CI: mention and test the MSRV #1767

Merged
merged 1 commit into from
Apr 26, 2020
Merged

Conversation

tanriol
Copy link
Contributor

@tanriol tanriol commented Apr 26, 2020

Write down the minimal supported Rust version in the README.md and add a CI test that ensures MSRV bumps cannot happen accidentally. No promises about MSRV bumps in minor versions are given.

The test intentionally removes Cargo.lock as the MSRV problem becomes most important when bindgen is used as a library dependency, and Cargo.lock is not used in that case anyway.

Fixes #1758.

@tanriol
Copy link
Contributor Author

tanriol commented Apr 26, 2020

The 1.34 MSRV comes from rustc_hash which bumped it to remove the byteorder dependency in version 1.1.0. If it's kept at 1.0.1, the MSRV can go down to 1.32 (clang-sys).

Write down the minimal supported Rust version in the README.md and add a
CI test that ensures MSRV bumps cannot happen accidentally.
@tanriol
Copy link
Contributor Author

tanriol commented Apr 26, 2020

r? @emilio

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.

Looks great, thank you!

@emilio emilio merged commit c11b780 into rust-lang:master Apr 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

document the minimum supported Rust version (policy)
3 participants