-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Find a way to detect API breakage. #759
Comments
I feel like if a cargo add-on could do this it would be perfect. something like $ cargo breakage record
$ cargo breakage compare |
The general plan was to tie this analysis to publishing a new version. |
Does |
We also need an actual definition of what is considered rusts API in regard to semver. |
As a way to solve this problem specifically for rustc: Write a script that detects if a test (rpass, cfail, etc) that has no |
Closing in favor of https://github.com/rust-lang-nursery/rust-semverver. |
Issue by mahkoh
Wednesday Sep 10, 2014 at 20:36 GMT
For earlier discussion, see rust-lang/rust#17152
This issue was labelled with: in the Rust repository
Given that the current rust ecosystem tries very hard to force everyone to use semver, and given that rust code breaks the API easily, this is very important.
Some easy but surprising ways to break the API:
Therefore rustc needs to have something like this:
stores api information in out.json
Checks if the new api is compatible with the old one.
The text was updated successfully, but these errors were encountered: