update paths in tools

This commit is contained in:
joboet 2024-01-12 00:06:39 +01:00
parent 2d30a262d1
commit 762cd4842e
No known key found for this signature in database
GPG Key ID: 704E0149B0194B3C
3 changed files with 12 additions and 12 deletions

View File

@ -16,7 +16,7 @@
fn main() -> Result<(), Box<dyn Error>> { fn main() -> Result<(), Box<dyn Error>> {
let mut path: PathBuf = let mut path: PathBuf =
env::args_os().nth(1).expect("a path to the rust repository is required").into(); env::args_os().nth(1).expect("a path to the rust repository is required").into();
path.push("library/std/src/sys/windows/c"); path.push("library/std/src/sys/pal/windows/c");
env::set_current_dir(&path)?; env::set_current_dir(&path)?;
let info = windows_bindgen::bindgen(["--etc", "windows_sys.lst"])?; let info = windows_bindgen::bindgen(["--etc", "windows_sys.lst"])?;

View File

@ -46,7 +46,7 @@
// we must use `#[cfg(windows)]` to conditionally compile the // we must use `#[cfg(windows)]` to conditionally compile the
// correct `VaList` structure for windows. // correct `VaList` structure for windows.
"library/core/src/ffi/mod.rs", "library/core/src/ffi/mod.rs",
"library/std/src/sys/", // Platform-specific code for std lives here. "library/std/src/sys/pal/", // Platform-specific code for std lives here.
"library/std/src/os", // Platform-specific public interfaces "library/std/src/os", // Platform-specific public interfaces
// Temporary `std` exceptions // Temporary `std` exceptions
// FIXME: platform-specific code should be moved to `sys` // FIXME: platform-specific code should be moved to `sys`

View File

@ -202,7 +202,7 @@ trigger_files = [
[autolabel."O-hermit"] [autolabel."O-hermit"]
trigger_files = [ trigger_files = [
"library/std/src/sys/hermit", "library/std/src/sys/pal/hermit",
"library/std/src/os/hermit" "library/std/src/os/hermit"
] ]
@ -213,7 +213,7 @@ trigger_files = [
[autolabel."O-itron"] [autolabel."O-itron"]
trigger_files = [ trigger_files = [
"library/std/src/sys/itron" "library/std/src/sys/pal/itron"
] ]
[autolabel."O-linux"] [autolabel."O-linux"]
@ -238,7 +238,7 @@ trigger_files = [
[autolabel."O-SGX"] [autolabel."O-SGX"]
trigger_files = [ trigger_files = [
"library/std/src/sys/sgx", "library/std/src/sys/pal/sgx",
"library/std/src/os/fortanix_sgx" "library/std/src/os/fortanix_sgx"
] ]
@ -249,25 +249,25 @@ trigger_files = [
[autolabel."O-solid"] [autolabel."O-solid"]
trigger_files = [ trigger_files = [
"library/std/src/sys/solid", "library/std/src/sys/pal/solid",
"library/std/src/os/solid" "library/std/src/os/solid"
] ]
[autolabel."O-unix"] [autolabel."O-unix"]
trigger_files = [ trigger_files = [
"library/std/src/sys/unix", "library/std/src/sys/pal/unix",
"library/std/src/os/unix" "library/std/src/os/unix"
] ]
[autolabel."O-wasi"] [autolabel."O-wasi"]
trigger_files = [ trigger_files = [
"library/std/src/sys/wasi", "library/std/src/sys/pal/wasi",
"library/std/src/os/wasi" "library/std/src/os/wasi"
] ]
[autolabel."O-wasm"] [autolabel."O-wasm"]
trigger_files = [ trigger_files = [
"library/std/src/sys/wasm", "library/std/src/sys/pal/wasm",
"library/std/src/os/wasm" "library/std/src/os/wasm"
] ]
@ -278,7 +278,7 @@ trigger_files = [
[autolabel."O-windows"] [autolabel."O-windows"]
trigger_files = [ trigger_files = [
"library/std/src/sys/windows", "library/std/src/sys/pal/windows",
"library/std/src/os/windows" "library/std/src/os/windows"
] ]
@ -788,7 +788,7 @@ project-stable-mir = [
"/library/panic_unwind" = ["libs"] "/library/panic_unwind" = ["libs"]
"/library/proc_macro" = ["@petrochenkov"] "/library/proc_macro" = ["@petrochenkov"]
"/library/std" = ["libs"] "/library/std" = ["libs"]
"/library/std/src/sys/windows" = ["@ChrisDenton", "@thomcc"] "/library/std/src/sys/pal/windows" = ["@ChrisDenton", "@thomcc"]
"/library/stdarch" = ["libs"] "/library/stdarch" = ["libs"]
"/library/test" = ["libs"] "/library/test" = ["libs"]
"/src/bootstrap" = ["bootstrap"] "/src/bootstrap" = ["bootstrap"]