Skip to content
This repository was archived by the owner on Jul 15, 2024. It is now read-only.

Commit b39c2c5

Browse files
authoredJun 29, 2024
Merge pull request #6 from TTWNO/feature/conditionalCompilation
Added conditional compilation for critical section dependency for uni…
2 parents 89eab4e + bc5ce20 commit b39c2c5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎fry_normalize/Cargo.toml

+6
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,9 @@ regex = "1.10.4"
1010
num-bigfloat = { version = "1.7.1", default-features = false }
1111
once_cell = { version = "1.19.0", default-features = false, features = ["critical-section"] }
1212
derive_more = { version = "0.99.17", default-features = false, features = ["display"] }
13+
14+
[target.'cfg(target_family = "windows")'.dependencies]
15+
once_cell = { version = "1.19.0", default-features = false, features = ["std"] }
16+
17+
[target.'cfg(target_family = "unix")'.dependencies]
18+
once_cell = { version = "1.19.0", default-features = false, features = ["std"] }

0 commit comments

Comments
 (0)