@@ -17,7 +17,6 @@ cfg-if = { version = "1.0", features = ['rustc-dep-of-std'] }
1717panic_unwind = { path = " ../panic_unwind" , optional = true }
1818panic_abort = { path = " ../panic_abort" }
1919core = { path = " ../core" , public = true }
20- libc = { version = " 0.2.153" , default-features = false , features = [' rustc-dep-of-std' ], public = true }
2120compiler_builtins = { version = " 0.1.105" }
2221profiler_builtins = { path = " ../profiler_builtins" , optional = true }
2322unwind = { path = " ../unwind" }
@@ -31,6 +30,12 @@ rustc-demangle = { version = "0.1.21", features = ['rustc-dep-of-std'] }
3130miniz_oxide = { version = " 0.7.0" , optional = true , default-features = false }
3231addr2line = { version = " 0.21.0" , optional = true , default-features = false }
3332
33+ [target .'cfg(not(all(windows, target_env = "msvc")))' .dependencies ]
34+ libc = { version = " 0.2.153" , default-features = false , features = [' rustc-dep-of-std' ], public = true }
35+
36+ [target .'cfg(all(windows, target_env = "msvc"))' .dependencies ]
37+ libc = { version = " 0.2.153" , default-features = false }
38+
3439[target .'cfg(all(not(target_os = "aix"), not(all(windows, target_env = "msvc", not(target_vendor = "uwp")))))' .dependencies ]
3540object = { version = " 0.32.0" , default-features = false , optional = true , features = [' read_core' , ' elf' , ' macho' , ' pe' , ' unaligned' , ' archive' ] }
3641
0 commit comments