Skip to content

Commit d54ba39

Browse files
committed
Cleanup Cargo.toml
1 parent 68707a5 commit d54ba39

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

Cargo.toml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,18 @@ log = { version = "0.4", optional = true }
2323
[target.'cfg(any(unix, target_os = "wasi"))'.dependencies]
2424
libc = "0.2.54"
2525

26-
[target.'cfg(unix)'.dependencies]
26+
# For holding file descriptors
27+
[target.'cfg(any(unix, target_os = "redox"))'.dependencies]
2728
lazy_static = "1.3.0"
2829

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

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

37-
[target.'cfg(any(target_env = "sgx", target_os = "uefi"))'.dependencies]
38-
lazy_static = { version = "1.3.0", features = ["spin_no_std"] }
39-
4039
[features]
4140
std = []

0 commit comments

Comments
 (0)