rust-osdev / linked-list-allocator

Apache License 2.0
219 stars 53 forks source link

Remove features const_mut_refs and use_spin_nightly #77

Closed jannic closed 1 year ago

jannic commented 1 year ago

Since rust 1.61, the underlying const functions are available in stable rust, and lock_api >= 0.4.7 automatically uses them. (Feature const_fn_trait_bound, https://github.com/rust-lang/rust/pull/93827)

To avoid a breaking change, the features are still listed in Cargo.toml, but have no effect and are marked as deprecated. This bumps the minimum supported rust version to 1.61.

jannic commented 1 year ago

@phil-opp, would you consider doing a release of linked-list-allocator, so it can be used with stable rust?

phil-opp commented 1 year ago

Sure, published as v0.10.5.