Skip to content

Commit cc33cc5

Browse files
authored
Bump MSRV to 1.61 (#102)
This commit also adds portable-atomic tests for MIRI. Signed-off-by: John Nunley <[email protected]>
1 parent 531c106 commit cc33cc5

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
matrix:
7171
# When updating this, the reminder to update the minimum supported
7272
# Rust version in Cargo.toml.
73-
rust: ['1.59']
73+
rust: ['1.61']
7474
steps:
7575
- uses: actions/checkout@v4
7676
- name: Install Rust
@@ -105,6 +105,7 @@ jobs:
105105
echo "RUSTFLAGS=${RUSTFLAGS} -Z randomize-layout" >>"${GITHUB_ENV}"
106106
- run: cargo miri test --all
107107
- run: cargo miri test --no-default-features --tests
108+
- run: cargo miri test --no-default-features --features portable-atomic --tests
108109

109110
security_audit:
110111
permissions:

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name = "event-listener"
66
version = "4.0.0"
77
authors = ["Stjepan Glavina <[email protected]>"]
88
edition = "2021"
9-
rust-version = "1.59"
9+
rust-version = "1.61"
1010
description = "Notify async tasks or threads"
1111
license = "Apache-2.0 OR MIT"
1212
repository = "https://github.com/smol-rs/event-listener"
@@ -22,7 +22,7 @@ portable-atomic = ["portable-atomic-util", "portable_atomic_crate"]
2222
[dependencies]
2323
concurrent-queue = { version = "2.2.0", default-features = false }
2424
pin-project-lite = "0.2.12"
25-
portable-atomic-util = { version = "0.1.2", default-features = false, optional = true, features = ["alloc"] }
25+
portable-atomic-util = { version = "0.1.4", default-features = false, optional = true, features = ["alloc"] }
2626

2727
[target.'cfg(not(target_family = "wasm"))'.dependencies]
2828
parking = { version = "2.0.0", optional = true }

0 commit comments

Comments
 (0)