Skip to content

Commit 1e9f11c

Browse files
committed
update MSRV to 1.80 for LazyLock
1 parent 6778b0d commit 1e9f11c

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

Diff for: .github/workflows/build-and-test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
os: [ubuntu-latest, windows-latest, macos-latest]
16-
rust: [nightly, beta, stable, 1.70.0]
16+
rust: [nightly, beta, stable, 1.80.0]
1717
steps:
1818
- uses: actions/checkout@v2
1919

Diff for: Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ documentation = "https://docs.rs/async-global-executor"
1111
keywords = ["async", "await", "future", "executor"]
1212
categories = ["asynchronous", "concurrency"]
1313
readme = "README.md"
14-
rust-version = "1.70"
14+
rust-version = "1.80"
1515

1616
[features]
1717
default = ["async-io"]

Diff for: src/config.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
use std::{
22
fmt,
3-
sync::{atomic::{AtomicUsize, Ordering}, OnceLock},
3+
sync::{
4+
atomic::{AtomicUsize, Ordering},
5+
OnceLock,
6+
},
47
};
58

69
pub(crate) static GLOBAL_EXECUTOR_CONFIG: OnceLock<Config> = OnceLock::new();

0 commit comments

Comments
 (0)