4 Commits

Author SHA1 Message Date
Emil Fresk
b469290560 Fix CI 2023-01-10 08:48:46 +01:00
Jorge Aparicio
57ac20eeb7 ubuntu-specific(?) suppressions 2022-04-29 16:16:24 +02:00
Jorge Aparicio
477c53b25d use std:🧵:scope instead of scoped_threadpool
as it's easier to deal with TSAN false positives in the former API

as surfaced in PR 280 the current supression rules don't handle newer versions of the
scoped_threadpool crate

trying to update the supression rules related to scoped_threadpool in PR #282 revealed that the
supression rules are masking (hiding) real data races:
https://github.com/japaric/heapless/pull/282#issuecomment-1113173358

std:🧵:scope requires less supression rules and does not mask real data races -- for instance,
the data race in the linked issue comment is not masked when using std:🧵:scope

tradeoffs:
- pro: one less dev dependency
- pro: supressions file is simpler
- cons: std:🧵:scope is only available on recent nightlies
2022-04-29 15:20:55 +02:00
Jorge Aparicio
fd1f701120 drop the maybe_uninit feature gate 2019-05-21 12:43:19 +02:00