cargo-semver-checks
cargo-semver-checks copied to clipboard
Lints related to function ABI changes
Original description:
- things like
extern "C" fn
: https://docs.rs/rustdoc-types/latest/rustdoc_types/enum.Abi.html - new lints enabled by this:
- [x] ABI kind changed, e.g.
extern "C" fn
toextern "system" fn
(or, ifextern
is removed, to the defaultextern "Rust" fn
) - [ ] ABI unwind ability removed, e.g.
extern "C-unwind" fn
toextern "C" fn
- [ ] is moving from
extern "C" fn
toextern "C-unwind" fn
a breaking change?- technically, yes, but it's like adding
#[non_exhaustive]
when it was first introduced -- it's fairly new so let's not penalize early adopters
- technically, yes, but it's like adding
- [x] ABI kind changed, e.g.