-
Notifications
You must be signed in to change notification settings - Fork 53
Version 0.6.6 breaking semver? #21
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
Comments
I'm sorry for the breakage. However, I'm not sure what the better option is. By releasing the change only as version I decided to release only a patch version (0.6.6 instead of 0.7.0) for the following reasons:
I'm happy to discuss this though! For the future, I think the best solution is to gate all uses of unstable features behind a |
This totally makes sense, and in our case we're planning to upgrade the |
Great to hear that! |
Closing as bumping our dependency resolved the issue for us. |
The freshly released 0.6.6 version (#20) causes this Travis-CI build to fail: https://travis-ci.org/google/OpenSK/builds/645900468
This may be due to the fact that we pin a specific Rust toolchain - which didn't have the
AllocRef
symbol yet (indeed, the renaming in rust-lang/rust#68529 and rust-lang/rust#68736 was very brief, not leaving much time to migrate to the new name).One could argue that given that the allocator API in unstable (
#[unstable(feature = "allocator_api", issue = "32838")]
) such breakage is expected from Rust's stdlib side.On the one hand, linked-list-allocator
>= 0.6.6
doesn't compile with old versions of Rust nightly. On the other hand, versions of linked-list-allocator< 0.6.5
won't compile anymore on new Rust nightlies due to the new name.This seems to me like it could qualify as a semver breakage, as version
^0.6.5
can mean either0.6.5
or0.6.6
(depending on when one updated their crates), but in all cases (except the few days between rust-lang/rust#68529 and rust-lang/rust#68736 whereAlloc
andAllocRef
both existed) either0.6.5
or0.6.6
won't compile (depending on the liballoc in the toolchain).If instead a new
0.7.0
version is released and0.6.6
is yanked, dependents of linked-list-allocator can choose between0.6.x
and0.7.x
according to their toolchain.The text was updated successfully, but these errors were encountered: