Skip to content

Commit 564ebb2

Browse files
committed
Fix wasm build
1 parent 1434545 commit 564ebb2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@ _bigint = ["dep:num-traits", "dep:num-integer"] # Internal feature. User must u
2222
# See also: https://github.com/python/cpython/issues/132763
2323
mul_add = []
2424

25-
[dependencies]
25+
[target.'cfg(any(unix, windows))'.dependencies]
2626
libc = "0.2"
27+
28+
[dependencies]
2729
num-complex = { version = "0.4", optional = true }
2830
num-bigint = { version = "0.4", optional = true }
2931
num-traits = { version = "0.2", optional = true }

0 commit comments

Comments
 (0)