Skip to content

Commit bee614a

Browse files
trevor-cryptodjc
authored andcommitted
Do not include iana-time-zone for sgx
In previous version chrono with default features built successfully on the sgx platform. Since `iana-time-zone` is not implemented for this platform, do not include it when `target_env = "sgx"`.
1 parent fe4bd22 commit bee614a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ rkyv = {version = "0.7", optional = true}
4545
wasm-bindgen = { version = "0.2", optional = true }
4646
js-sys = { version = "0.3", optional = true } # contains FFI bindings for the JS Date API
4747

48-
[target.'cfg(not(any(target_os = "emscripten", target_os = "wasi", target_os = "solaris")))'.dependencies]
48+
[target.'cfg(not(any(target_os = "emscripten", target_os = "wasi", target_os = "solaris", target_env = "sgx")))'.dependencies]
4949
iana-time-zone = { version = "0.1.41", optional = true }
5050

5151
[target.'cfg(windows)'.dependencies]

0 commit comments

Comments
 (0)