Commit Graph

38 Commits

Author SHA1 Message Date
John Nunley 2493d3c595 ci: Also add MIRI tests
Signed-off-by: John Nunley <dev@notgull.net>
2024-04-08 14:27:51 -07:00
John Nunley c56420dcf4 ci: Add CI tests for dependent crates
This commit adds tests to CI that tests new patches for event-listener
with dependent crates. Examples of these dependent crates are:

- event-listener-strategy
- async-channel
- async-lock

Signed-off-by: John Nunley <dev@notgull.net>
2024-04-08 14:27:51 -07:00
Jacob Rothstein f402b7e24c feat: Add a loom implementation for event-listener 2024-03-30 12:00:55 -07:00
Taiki Endo 45272f9285 ci: Use cargo-hack's --rust-version flag for msrv check
This respects rust-version field in Cargo.toml, so it removes the need
to manage MSRV in both the CI file and Cargo.toml.
2024-01-07 02:52:24 +09:00
John Nunley cc33cc5467
Bump MSRV to 1.61 (#102)
This commit also adds portable-atomic tests for MIRI.

Signed-off-by: John Nunley <dev@notgull.net>
2023-12-16 12:44:52 -08:00
Taiki Endo d4c63e9e3c Update actions/checkout action to v4 2023-09-10 18:26:59 +09:00
John Nunley cbbe9aafba Move event-listener-strategy to its own repository
https://github.com/smol-rs/event-listener-strategy

Signed-off-by: John Nunley <dev@notgull.net>
2023-09-04 08:40:30 -07:00
John Nunley c278371cfb
feat: Add explicit web support
This commit adds WASM compilation support to this crate. The main thing
is that the wait() family of APIs are removed in WASM mode, as blocking
is not allowed in WASM.

In addition, tests are added to CI to support WASM.

Signed-off-by: John Nunley <dev@notgull.net>
2023-08-26 12:53:39 -07:00
Taiki Endo 7ce2634cb5
bugfix: Use inline assembly in full_fence
Bumps the MSRV to 1.59
2023-08-13 14:31:59 -07:00
Taiki Endo 8c55219847
Update CI config (#72)
- Test i686
- Test no_std module with Miri
- Test with release mode
2023-08-14 01:58:05 +09:00
Taiki Endo 97865d16b8 Minimize GITHUB_TOKEN permissions
Refs: https://github.blog/changelog/2021-04-20-github-actions-control-permissions-for-github_token
2023-04-30 06:05:18 +09:00
Taiki Endo 43950ee259 Set CARGO_NET_GIT_FETCH_WITH_CLI=true in CI 2023-04-30 06:05:18 +09:00
John Nunley e909945dcb
Add a portable-atomic feature (#53) 2023-04-02 21:36:44 -07:00
John Nunley 2ac3be011e Build tests for no-default-features into C/I 2023-03-31 13:43:09 -07:00
jtnunley 9e3217767d Move inner data to lib.rs 2023-03-30 09:14:22 -07:00
John Nunley 52cb4bfd1a
feat: Add the event-listener-strategy crate (#49) 2023-03-15 08:48:40 -07:00
Taiki Endo 673e1fa36d Enable dependabot update for Rust 2022-12-28 12:26:08 +09:00
Taiki Endo 097cbaef91 Clean up CI config 2022-12-28 12:26:08 +09:00
Taiki Endo 7beefeb66a Remove msrv field from .clippy.toml
Since Rust 1.64, Clippy respects `rust-version` field in Cargo.toml.
rust-lang/rust@b776fb8
2022-12-28 12:26:08 +09:00
John Nunley 16b3d599fc
Implement an algorithm to make this crate no_std, take 3 (#34) 2022-11-11 07:53:43 -08:00
John Nunley a01518f41c
Use the parking crate instead of threading APIs (#27) 2022-08-24 06:39:27 -07:00
Taiki Endo 9b5816aee8 Revert "Temporarily disable Miri weak memory emulation"
This reverts commit b634e5b654.
2022-07-20 23:41:05 +09:00
Taiki Endo b634e5b654 Temporarily disable Miri weak memory emulation 2022-07-17 23:08:56 +09:00
Taiki Endo 6670c38635 Apply clippy to all targets 2022-07-17 21:21:50 +09:00
Taiki Endo 42b03cddcf Update CI config 2022-07-08 02:49:11 +09:00
Taiki Endo bd79600b1a Revert "Temporarily disable Miri weak memory emulation"
This reverts commit 9decab163b.
2022-06-23 23:17:24 +09:00
Taiki Endo 9decab163b Temporarily disable Miri weak memory emulation 2022-06-18 16:12:06 +09:00
Taiki Endo 3672f0806c Update MIRIFLAGS 2022-05-01 15:04:44 +09:00
Taiki Endo d5602c2b80 Update actions/checkout action to v3 2022-05-01 14:24:33 +09:00
Taiki Endo 1fa31c553e Fix stacked borrows violation with -Zmiri-tag-raw-pointers 2022-01-22 14:45:25 +09:00
Taiki Endo 31708e41b2 Enable -Zmiri-disable-isolation in miri CI 2022-01-08 19:35:32 +09:00
Taiki Endo ccc68b9249 Run Miri on CI 2022-01-08 19:30:52 +09:00
Taiki Endo c2be9b7511 Create GitHub release automatically 2022-01-08 19:28:55 +09:00
Taiki Endo 153fd3d871 Clean up CI config 2022-01-08 19:28:02 +09:00
Taiki Endo c213ae18e1 Fix CI 2020-12-24 19:10:43 +09:00
Stjepan Glavina e6b52dff59
. 2020-11-30 12:29:14 +01:00
Stjepan Glavina 922e4e97e7 Don't check benches 2020-05-20 21:27:29 +02:00
Stjepan Glavina 049f9a779b Initial commit 2020-05-16 19:44:50 +02:00