mirror of https://github.com/spacejam/sled
Bump MSRV to 1.62
This commit is contained in:
parent
39b4994975
commit
2c27d33dd7
|
@ -161,7 +161,7 @@ extreme::run(async move {
|
|||
|
||||
# minimum supported Rust version (MSRV)
|
||||
|
||||
We support Rust 1.57.0 and up.
|
||||
We support Rust 1.62 and up.
|
||||
|
||||
# architecture
|
||||
|
||||
|
|
|
@ -12,10 +12,10 @@ rustup update --no-self-update
|
|||
|
||||
RUSTFLAGS="--cfg miri" cargo check
|
||||
|
||||
rustup toolchain install 1.57.0 --no-self-update
|
||||
rustup toolchain install 1.62 --no-self-update
|
||||
cargo clean
|
||||
rm Cargo.lock
|
||||
cargo +1.57.0 check
|
||||
cargo +1.62 check
|
||||
|
||||
for target in $targets; do
|
||||
echo "setting up $target..."
|
||||
|
|
|
@ -720,7 +720,7 @@ impl<'g, T> Shared<'g, T> {
|
|||
|
||||
impl<'g, T: ?Sized + Pointable> Shared<'g, T> {
|
||||
/// Returns a new null pointer.
|
||||
pub(crate) fn null() -> Shared<'g, T> {
|
||||
pub(crate) const fn null() -> Shared<'g, T> {
|
||||
Shared { data: 0, _marker: PhantomData }
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue