File tree Expand file tree Collapse file tree 3 files changed +7
-16
lines changed
Expand file tree Collapse file tree 3 files changed +7
-16
lines changed Original file line number Diff line number Diff line change @@ -340,10 +340,10 @@ dependencies = [
340340name = " std_detect"
341341version = " 0.1.5"
342342dependencies = [
343+ " alloc" ,
343344 " cfg-if" ,
345+ " core" ,
344346 " libc" ,
345- " rustc-std-workspace-alloc" ,
346- " rustc-std-workspace-core" ,
347347]
348348
349349[[package ]]
Original file line number Diff line number Diff line change @@ -23,9 +23,7 @@ unwind = { path = "../unwind" }
2323hashbrown = { version = " 0.15" , default-features = false , features = [
2424 ' rustc-dep-of-std' ,
2525] }
26- std_detect = { path = " ../stdarch/crates/std_detect" , default-features = false , features = [
27- ' rustc-dep-of-std' ,
28- ] }
26+ std_detect = { path = " ../std_detect" }
2927
3028# Dependencies of the `backtrace` crate
3129rustc-demangle = { version = " 0.1.24" , features = [' rustc-dep-of-std' ] }
@@ -117,8 +115,7 @@ debug_refcell = ["core/debug_refcell"]
117115debug_typeid = [" core/debug_typeid" ]
118116
119117
120- # Enable std_detect default features for stdarch/crates/std_detect:
121- # https://github.com/rust-lang/stdarch/blob/master/crates/std_detect/Cargo.toml
118+ # Enable std_detect features:
122119std_detect_file_io = [" std_detect/std_detect_file_io" ]
123120std_detect_dlsym_getauxval = [" std_detect/std_detect_dlsym_getauxval" ]
124121
Original file line number Diff line number Diff line change @@ -22,20 +22,14 @@ maintenance = { status = "experimental" }
2222
2323[dependencies ]
2424cfg-if = " 1.0.0"
25-
26- # When built as part of libstd
27- core = { version = " 1.0.0" , optional = true , package = " rustc-std-workspace-core" }
28- alloc = { version = " 1.0.0" , optional = true , package = " rustc-std-workspace-alloc" }
25+ core = { path = " ../core" }
26+ alloc = { path = " ../alloc" }
2927
3028[target .'cfg(not(windows))' .dependencies ]
3129libc = { version = " 0.2.0" , optional = true , default-features = false }
3230
3331[features ]
34- default = [ " std_detect_dlsym_getauxval " , " std_detect_file_io " ]
32+ default = []
3533std_detect_file_io = [ " libc" ]
3634std_detect_dlsym_getauxval = [ " libc" ]
3735std_detect_env_override = [ " libc" ]
38- rustc-dep-of-std = [
39- " core" ,
40- " alloc" ,
41- ]
You can’t perform that action at this time.
0 commit comments