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>> {
let mut path: PathBuf =
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)?;
let info = windows_bindgen::bindgen(["--etc", "windows_sys.lst"])?;

View File

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

View File

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