Skip to content

Commit 4818b15

Browse files
authored
Only enable boxcar/loom when loom feature is enabled (#869)
1 parent 96eeecb commit 4818b15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ description = "A generic framework for on-demand, incrementalized computation (e
1212
salsa-macro-rules = { version = "0.21.1", path = "components/salsa-macro-rules" }
1313
salsa-macros = { version = "0.21.1", path = "components/salsa-macros", optional = true }
1414

15-
boxcar = { version = "0.2.12", features = ["loom"] }
15+
boxcar = { version = "0.2.12" }
1616
crossbeam-queue = "0.3.11"
1717
dashmap = { version = "6", features = ["raw-api"] }
1818
hashbrown = "0.15"
@@ -36,7 +36,7 @@ loom = { version = "0.7.2", optional = true }
3636
default = ["salsa_unstable", "rayon", "macros"]
3737
# FIXME: remove `salsa_unstable` before 1.0.
3838
salsa_unstable = []
39-
loom = ["dep:loom"]
39+
loom = ["dep:loom", "boxcar/loom"]
4040
macros = ["dep:salsa-macros"]
4141

4242
# This interlocks the `salsa-macros` and `salsa` versions together

0 commit comments

Comments
 (0)