Skip to content

Commit

Permalink
update paths in tools
Browse files Browse the repository at this point in the history
  • Loading branch information
joboet committed Jan 11, 2024
1 parent 2d30a26 commit 762cd48
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/tools/generate-windows-sys/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const PRELUDE: &str = r#"// This file is autogenerated.
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"])?;
Expand Down
4 changes: 2 additions & 2 deletions src/tools/tidy/src/pal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ const EXCEPTION_PATHS: &[&str] = &[
// 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",
Expand Down
18 changes: 9 additions & 9 deletions triagebot.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]

Expand All @@ -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"]
Expand All @@ -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"
]

Expand All @@ -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"
]

Expand All @@ -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"
]

Expand Down Expand Up @@ -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"]
Expand Down

0 comments on commit 762cd48

Please sign in to comment.