Skip to content

Commit 56c215e

Browse files
committed
sync as-if-std crate
1 parent b6d24cd commit 56c215e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

crates/as-if-std/Cargo.toml

+6-4
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@ bench = false
1515
cfg-if = "1.0"
1616
rustc-demangle = "0.1.21"
1717
libc = { version = "0.2.146", default-features = false }
18-
addr2line = { version = "0.21.0", default-features = false, optional = true }
19-
miniz_oxide = { version = "0.7", default-features = false }
2018

21-
[dependencies.object]
19+
[target.'cfg(not(all(windows, target_env = "msvc", not(target_vendor = "uwp"))))'.dependencies]
20+
miniz_oxide = { version = "0.7.0", optional = true, default-features = false }
21+
addr2line = { version = "0.21.0", optional = true, default-features = false }
22+
23+
[target.'cfg(not(all(windows, target_env = "msvc", not(target_vendor = "uwp"))))'.dependencies.object]
2224
version = "0.32.0"
2325
default-features = false
2426
optional = true
@@ -30,4 +32,4 @@ cc = "1.0.67"
3032

3133
[features]
3234
default = ['backtrace']
33-
backtrace = ['addr2line', 'object']
35+
backtrace = ['addr2line', 'miniz_oxide', 'object']

0 commit comments

Comments
 (0)