Commit Graph

90 Commits

Author SHA1 Message Date
Taiki Endo bc4f426618 Use compiler_fence in full_fence on x86 2022-07-20 23:18:24 +09:00
Taiki Endo 194cf156b1 Revert "Fix fence on non-x86 arch and miri (#16)"
This reverts commit 54df36a543.
2022-07-20 23:18:24 +09:00
Taiki Endo b8363bab2d Release 1.2.3 2022-07-17 22:35:42 +09:00
Taiki Endo 8497007235 Ignore clippy::bool_assert_comparison lint in tests
```
warning: used `assert_eq!` with a literal bool
  --> tests/bounded.rs:37:5
   |
37 |     assert_eq!(q.is_empty(), true);
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)`
   |
   = note: `#[warn(clippy::bool_assert_comparison)]` on by default
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison

warning: used `assert_eq!` with a literal bool
  --> tests/bounded.rs:38:5
   |
38 |     assert_eq!(q.is_full(), false);
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison

warning: used `assert_eq!` with a literal bool
  --> tests/bounded.rs:43:5
   |
43 |     assert_eq!(q.is_empty(), false);
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison

warning: used `assert_eq!` with a literal bool
  --> tests/bounded.rs:44:5
   |
44 |     assert_eq!(q.is_full(), false);
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison

warning: used `assert_eq!` with a literal bool
  --> tests/bounded.rs:49:5
   |
49 |     assert_eq!(q.is_empty(), false);
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison

warning: used `assert_eq!` with a literal bool
  --> tests/bounded.rs:50:5
   |
50 |     assert_eq!(q.is_full(), true);
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison

warning: used `assert_eq!` with a literal bool
  --> tests/bounded.rs:55:5
   |
55 |     assert_eq!(q.is_empty(), false);
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison

warning: used `assert_eq!` with a literal bool
  --> tests/bounded.rs:56:5
   |
56 |     assert_eq!(q.is_full(), false);
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison

warning: used `assert_eq!` with a literal bool
  --> tests/unbounded.rs:22:5
   |
22 |     assert_eq!(q.is_empty(), true);
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)`
   |
   = note: `#[warn(clippy::bool_assert_comparison)]` on by default
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison

warning: used `assert_eq!` with a literal bool
  --> tests/unbounded.rs:27:5
   |
27 |     assert_eq!(q.is_empty(), false);
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison

warning: used `assert_eq!` with a literal bool
  --> tests/unbounded.rs:32:5
   |
32 |     assert_eq!(q.is_empty(), true);
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison

warning: used `assert_eq!` with a literal bool
  --> tests/single.rs:29:5
   |
29 |     assert_eq!(q.is_empty(), true);
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)`
   |
   = note: `#[warn(clippy::bool_assert_comparison)]` on by default
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison

warning: used `assert_eq!` with a literal bool
  --> tests/single.rs:30:5
   |
30 |     assert_eq!(q.is_full(), false);
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison

warning: used `assert_eq!` with a literal bool
  --> tests/single.rs:35:5
   |
35 |     assert_eq!(q.is_empty(), false);
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison

warning: used `assert_eq!` with a literal bool
  --> tests/single.rs:36:5
   |
36 |     assert_eq!(q.is_full(), true);
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison

warning: used `assert_eq!` with a literal bool
  --> tests/single.rs:41:5
   |
41 |     assert_eq!(q.is_empty(), true);
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison

warning: used `assert_eq!` with a literal bool
  --> tests/single.rs:42:5
   |
42 |     assert_eq!(q.is_full(), false);
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison
```
2022-07-17 22:34:00 +09:00
Taiki Endo 6b7a6a0584 Apply clippy to all targets 2022-07-17 22:34:00 +09:00
Taiki Endo 54df36a543
Fix fence on non-x86 arch and miri (#16) 2022-07-17 22:33:35 +09:00
Taiki Endo 83ec31aac4 Update CI config 2022-07-03 01:13:27 +09:00
Taiki Endo 37585c0eb6 Update MIRIFLAGS 2022-05-01 15:06:48 +09:00
Taiki Endo 8d3e3a860e Update actions/checkout action to v3 2022-05-01 14:12:02 +09:00
Taiki Endo 29dc872e05 Create GitHub release automatically 2022-01-08 18:43:05 +09:00
Taiki Endo 407b9e2942 Clean up CI config 2022-01-08 18:09:30 +09:00
Taiki Endo b6f39c7aa8 Run Miri on CI 2022-01-08 18:09:30 +09:00
Taiki Endo edb1210403
Merge pull request #10 from smol-rs/readme
Remove readme field from Cargo.toml
2021-02-14 19:51:43 +09:00
Taiki Endo c97ffb7296 Remove readme field from Cargo.toml 2021-02-14 19:44:08 +09:00
Taiki Endo bb80164b90
Merge pull request #9 from smol-rs/badge
Update license badge to match Cargo.toml
2021-02-14 13:53:25 +09:00
Taiki Endo 4a7acf9b9e Update license badge to match Cargo.toml 2021-02-14 13:37:47 +09:00
Taiki Endo 858f4f0607
Merge pull request #8 from taiki-e/url
Update URLs
2020-12-26 23:59:17 +09:00
Taiki Endo 8ea5d6f404 Update URLs 2020-12-26 23:47:13 +09:00
Taiki Endo 52573f74f2
Merge pull request #7 from taiki-e/compare_and_swap
Replace deprecated compare_and_swap with compare_exchange
2020-12-24 21:32:45 +09:00
Taiki Endo cefe5efc42 Replace deprecated compare_and_swap with compare_exchange 2020-12-24 21:28:40 +09:00
Taiki Endo b5bf0b250e
Merge pull request #6 from taiki-e/ci
Fix CI
2020-12-24 18:35:34 +09:00
Taiki Endo 3aece12ce3 Fix CI 2020-12-24 18:33:15 +09:00
Stjepan Glavina 444cae15a5
. 2020-11-30 12:27:08 +01:00
Stjepan Glavina db15df1c27 Bump to 1.2.2 2020-08-05 19:01:40 +02:00
Stjepan Glavina ee83323156 Add special bounded(1) implementation 2020-08-05 18:57:58 +02:00
Stjepan Glavina 83223b50a5 Remove PhantomData 2020-08-05 17:25:08 +02:00
Stjepan Glavina 417baf20e7 Bump to v1.2.1 2020-08-04 19:03:00 +02:00
Stjepan Glavina 0eab7ff973 Use a boxed slice instead of raw pointers 2020-08-04 19:02:03 +02:00
Stjepan Glavina 0e2534b90d Bump to v1.2.0 2020-07-31 14:27:27 +02:00
Stjepan Glavina c680f8d84f Implement UnwindSafe/RefUnwindSafe 2020-07-31 14:26:39 +02:00
Stjepan Glavina 5c5663e220 Bump to v1.1.2 2020-07-24 16:29:33 +02:00
Stjepan Glavina e4a9db66f4 Optimize SeqCst fences 2020-07-22 17:57:03 +02:00
Stjepan Glavina b2d6bbcf47
Merge pull request #1 from garious/trivial-cleanup
Remove redundant conditional
2020-07-22 01:51:02 +02:00
Greg Fitzgerald dc97271091 Remove redundant conditional 2020-07-21 15:36:58 -06:00
Stjepan Glavina ae0c5c5f41 Bump to v1.1.1 2020-06-02 16:46:00 +02:00
Stjepan Glavina 5ee969c26f Clarify errors in docs 2020-06-02 16:45:41 +02:00
Stjepan Glavina 68c4f4f6f6 Bump to v1.1.0 2020-06-02 16:41:12 +02:00
Stjepan Glavina 8a04fb97ba Add extra methods to error types 2020-06-02 16:40:42 +02:00
Stjepan Glavina 2d59985948 Update 2020-05-27 21:32:15 +02:00
Stjepan Glavina 463ae0ea93 Initial commit 2020-05-27 21:31:05 +02:00