Skip to content

Commit 2c27d33

Browse files
committed
Bump MSRV to 1.62
1 parent 39b4994 commit 2c27d33

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ extreme::run(async move {
161161

162162
# minimum supported Rust version (MSRV)
163163

164-
We support Rust 1.57.0 and up.
164+
We support Rust 1.62 and up.
165165

166166
# architecture
167167

scripts/cross_compile.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ rustup update --no-self-update
1212

1313
RUSTFLAGS="--cfg miri" cargo check
1414

15-
rustup toolchain install 1.57.0 --no-self-update
15+
rustup toolchain install 1.62 --no-self-update
1616
cargo clean
1717
rm Cargo.lock
18-
cargo +1.57.0 check
18+
cargo +1.62 check
1919

2020
for target in $targets; do
2121
echo "setting up $target..."

src/ebr/atomic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ impl<'g, T> Shared<'g, T> {
720720

721721
impl<'g, T: ?Sized + Pointable> Shared<'g, T> {
722722
/// Returns a new null pointer.
723-
pub(crate) fn null() -> Shared<'g, T> {
723+
pub(crate) const fn null() -> Shared<'g, T> {
724724
Shared { data: 0, _marker: PhantomData }
725725
}
726726

0 commit comments

Comments
 (0)