36 Commits

Author SHA1 Message Date
Alex Martens
bee84f9e77 Merge branch 'main' into impl-alloc-interop 2025-04-06 17:34:50 -07:00
Alex Martens
4251a17b2e CI: add alloc feature 2025-04-06 17:31:16 -07:00
Markus Reiter
6067119ed3
Rename defmt-1 feature to defmt. 2025-04-05 23:46:31 +02:00
Alex Martens
12086b194b defmt: 0.3 -> 1 2025-04-05 23:40:46 +02:00
Markus Reiter
859a5ae192
Deny warnings everywhere in CI. 2024-01-24 18:10:19 +01:00
Dario Nieuwenhuis
11bda49edb
Merge pull request #415 from newAM/clippy-tests
Run clippy on tests
2023-11-17 17:58:00 +00:00
Alex Martens
168c19857e Run clippy on tests 2023-11-17 09:24:30 -08:00
Alex Martens
5ee530c479 rustfmt: run on doc comments 2023-11-17 08:24:17 -08:00
Alex Martens
d7306dbbd2 Fix clippy lints 2023-11-15 13:20:54 -08:00
Alex Martens
4799f8ce10 docs: modernize intra doc links 2023-10-31 21:06:44 -07:00
Dario Nieuwenhuis
2be6a9a690 ci: add test, simplify a bit. 2023-10-31 02:43:53 +01:00
Dario Nieuwenhuis
f58e509664 Simplify atomic availability detection.
- `cfg(target_has_atomic)` is stable now, use that.
- Hardcode in `build.rs` the list of targets with load/store but no CAS,
  since `cfg(target_has_atomic_load_store)` is not stable yet.
- Do not try to autodetect whether `portable-atomic` is needed or not,
  just let the user control it directly. If the user doesn't explicitly
  enable `portable-atomic` and native atomics are unavailable, the
  features requiring it will be missing.
2023-10-31 00:02:03 +01:00
Alex Martens
60b2938cec CI: add build.yml to merge group 2023-10-30 14:26:00 -07:00
Dario Nieuwenhuis
8f6dc813d6 Use portable-atomic instead of atomic-polyfill. 2023-10-30 22:00:34 +01:00
Alex Martens
1decffb3b6 CI: actions-rs -> dtolnay 2023-10-21 08:46:24 +09:00
Alex Martens
5f8981bd5f Update GHA 2023-10-21 07:22:07 +09:00
Dario Nieuwenhuis
a4e8f82160 Fix tsan tests.
from [this](https://doc.rust-lang.org/beta/unstable-book/compiler-flags/sanitizer.html#threadsanitizer)

> To work correctly ThreadSanitizer needs to be "aware" of all synchronization operations in a program. It generally achieves that through \[...\] and compile time instrumentation (e.g. atomic operations). Using it without instrumenting all the program code can lead to false positive reports.

and the example uses -Zbuild-std ... of course, std has to be instrumented. Adding -Zbuild-std fixes it, indeed.
2023-10-20 23:35:23 +02:00
Dario Nieuwenhuis
199a8d8819 enable github merge queue. 2023-10-20 23:08:04 +02:00
Jorge Aparicio
b7942b9c3b remove pool tsan test
tsan does not support the 32-bit x86 targets
2022-10-18 11:43:51 +02:00
Jorge Aparicio
6652173268 don't test main after PRs are merged
this just duplicates the work of bors for no good reason
2022-08-12 16:30:44 +02:00
Jorge Aparicio
806ab5bf91 ci: run miri tests first
it seems runners are assigned to jobs in the order they appear in the
yaml file. miri takes the longest so it's better if it appears first
2022-08-12 16:28:17 +02:00
Jorge Aparicio
aeb96a882b do not test MSRV 2022-08-12 16:12:22 +02:00
Jorge Aparicio
74951379e7 run cfail test on stable rather on MSRV 2022-08-12 16:12:12 +02:00
Jorge Aparicio
eaebcdc654 build docs as part of CI 2022-08-10 15:32:19 +02:00
Jorge Aparicio
9025e7d770 update CI to use new branch name 2022-08-09 15:59:23 +02:00
Jorge Aparicio
3129e290a6 GHA: cargo check --no-default-features 2022-05-12 14:35:18 +02:00
Emil Fresk
3b2bc421a0 Remove deploy CI, docs.rs works well 2022-01-21 12:04:30 +01:00
Emil Fresk
e33646c189 Add changelog enforcer 2022-01-10 08:27:52 +01:00
Dario Nieuwenhuis
932760f3b7 Run tests with MIRI in CI 2021-09-24 23:48:36 +02:00
Jorge Aparicio
dffc1251a4 CI: remove i686 MUSL from TSAN test
no TSAN support for that target
2021-08-25 16:05:08 +02:00
Jorge Aparicio
6f9c883726 Sync Pool support for (32-bit) x86
the implementation uses a 64-bit atomic on `x86` to avoid the `ANCHOR` variable and the address
space limitation seen with the x86_64 compilation target

this PR also adds the i686-linux-musl target to the test matrix to exercise the new implementation

closes #231
2021-08-25 15:37:27 +02:00
Roman Proskuryakov
a3f4d8f41e Update minimal Rust version from 1.31 to 1.51 2021-03-28 09:49:34 +03:00
Henrik Tjäder
8c513b7fc1 Remove GHA ci-failure job 2021-01-19 20:43:54 +01:00
Henrik Tjäder
430a8d4379 Limit tests to one thread 2020-12-10 17:54:52 +00:00
Henrik Tjäder
2862779617 First GitHub Actions test 2020-12-10 17:54:52 +00:00
Jorge Aparicio
42c3f2a096 tweak bors.toml 2019-04-22 21:08:26 +02:00