diff options
| author | Jakub Beránek <berykubik@gmail.com> | 2025-07-04 09:51:28 +0200 |
|---|---|---|
| committer | Jakub Beránek <berykubik@gmail.com> | 2025-07-22 20:17:23 +0200 |
| commit | b23ab7888a06f548e8d9a5951e97cb68399e31b3 (patch) | |
| tree | 93dbdfd085f61924eeedac8d490316c1bcd7ddeb /library/std_detect | |
| parent | 5b2de8ab27e4a319e23817b61830a5cc6fd1745e (diff) | |
| download | rust-b23ab7888a06f548e8d9a5951e97cb68399e31b3.tar.gz rust-b23ab7888a06f548e8d9a5951e97cb68399e31b3.zip | |
Make `std_detect` a direct dependency of `std`
Diffstat (limited to 'library/std_detect')
| -rw-r--r-- | library/std_detect/Cargo.toml | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/library/std_detect/Cargo.toml b/library/std_detect/Cargo.toml index f990e724125..8d91454726b 100644 --- a/library/std_detect/Cargo.toml +++ b/library/std_detect/Cargo.toml @@ -22,20 +22,14 @@ maintenance = { status = "experimental" } [dependencies] cfg-if = "1.0.0" - -# When built as part of libstd -core = { version = "1.0.0", optional = true, package = "rustc-std-workspace-core" } -alloc = { version = "1.0.0", optional = true, package = "rustc-std-workspace-alloc" } +core = { path = "../core" } +alloc = { path = "../alloc" } [target.'cfg(not(windows))'.dependencies] libc = { version = "0.2.0", optional = true, default-features = false } [features] -default = [ "std_detect_dlsym_getauxval", "std_detect_file_io" ] +default = [] std_detect_file_io = [ "libc" ] std_detect_dlsym_getauxval = [ "libc" ] std_detect_env_override = [ "libc" ] -rustc-dep-of-std = [ - "core", - "alloc", -] |
