Skip to content

Commit 853c734

Browse files
committed
Flatten goblin features
1 parent 8571cef commit 853c734

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Cargo.toml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,8 @@ goblin = { version = "0.0.24", optional = true, default-features = false, featur
3737

3838
[target.'cfg(windows)'.dependencies]
3939
winapi = { version = "0.3.3", optional = true }
40-
goblin = { version = "0.0.24", optional = true, default-features = false, features = ['pe32', 'pe64'] }
41-
[target.'cfg(target_os = "macos")'.dependencies]
42-
goblin = { version = "0.0.24", optional = true, default-features = false, features = ['mach32', 'mach64'] }
43-
[target.'cfg(not(any(target_os = "fuchsia", target_os = "macos", windows)))'.dependencies]
44-
goblin = { version = "0.0.24", optional = true, default-features = false, features = ['elf32', 'elf64'] }
40+
[target.'cfg(not(target_os = "fuchsia"))'.dependencies]
41+
goblin = { version = "0.0.24", optional = true, default-features = false, features = ['elf32', 'elf64', 'pe32', 'pe64'] }
4542
[target.'cfg(target_os = "fuchsia")'.dependencies]
4643
fuchsia_backtrace = "0.1"
4744

0 commit comments

Comments
 (0)