Skip to content

Commit e2cd368

Browse files
committed
Cleanup Cargo.toml
1 parent 0364460 commit e2cd368

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

Cargo.toml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,18 @@ members = ["tests/wasm_bindgen"]
2121
log = { version = "0.4", optional = true }
2222
libc = "0.2.54"
2323

24-
[target.'cfg(unix)'.dependencies]
24+
# For holding file descriptors
25+
[target.'cfg(any(unix, target_os = "redox"))'.dependencies]
2526
lazy_static = "1.3.0"
2627

27-
[target.'cfg(target_os = "redox")'.dependencies]
28-
lazy_static = "1.3.0"
28+
# For caching result of CPUID check for RDRAND
29+
[target.'cfg(any(target_env = "sgx", target_os = "uefi"))'.dependencies]
30+
lazy_static = { version = "1.3.0", features = ["spin_no_std"] }
2931

3032
[target.wasm32-unknown-unknown.dependencies]
3133
wasm-bindgen = { version = "0.2.29", optional = true }
3234
stdweb = { version = "0.4.9", optional = true }
3335
lazy_static = "1.3.0"
3436

35-
[target.'cfg(any(target_env = "sgx", target_os = "uefi"))'.dependencies]
36-
lazy_static = { version = "1.3.0", features = ["spin_no_std"] }
37-
3837
[features]
3938
std = []

0 commit comments

Comments
 (0)