Skip to content

Commit 8119db2

Browse files
committed
Buh
1 parent 6c719a6 commit 8119db2

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.cargo/config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ pxtask = "run --package xtask --features rayon --"
44

55
# Don't define the RUSTFLAGS link.x thing here: it messes
66
# up compilation of the usage examples.
7+
[build]
8+
rustflags = [ "--cfg", "loom" ]

rtic-sync/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ defmt-03 = ["dep:defmt-03", "embedded-hal/defmt-03", "embedded-hal-async/defmt-0
4242
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(loom)'] }
4343

4444
[target.'cfg(loom)'.dependencies]
45-
loom = { version = "0.7.2" }
45+
loom = { version = "0.7.2", features = [ "futures" ] }
4646
cassette = "0.3.0"

rtic-sync/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use defmt_03 as defmt;
99
pub mod arbiter;
1010
pub mod channel;
1111
pub use portable_atomic;
12-
pub mod signal;
12+
// pub mod signal;
1313

1414
#[cfg(test)]
1515
#[macro_use]

0 commit comments

Comments
 (0)