Skip to content

Commit 762cd48

Browse files
committed
update paths in tools
1 parent 2d30a26 commit 762cd48

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

Diff for: src/tools/generate-windows-sys/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const PRELUDE: &str = r#"// This file is autogenerated.
1616
fn main() -> Result<(), Box<dyn Error>> {
1717
let mut path: PathBuf =
1818
env::args_os().nth(1).expect("a path to the rust repository is required").into();
19-
path.push("library/std/src/sys/windows/c");
19+
path.push("library/std/src/sys/pal/windows/c");
2020
env::set_current_dir(&path)?;
2121

2222
let info = windows_bindgen::bindgen(["--etc", "windows_sys.lst"])?;

Diff for: src/tools/tidy/src/pal.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ const EXCEPTION_PATHS: &[&str] = &[
4646
// we must use `#[cfg(windows)]` to conditionally compile the
4747
// correct `VaList` structure for windows.
4848
"library/core/src/ffi/mod.rs",
49-
"library/std/src/sys/", // Platform-specific code for std lives here.
50-
"library/std/src/os", // Platform-specific public interfaces
49+
"library/std/src/sys/pal/", // Platform-specific code for std lives here.
50+
"library/std/src/os", // Platform-specific public interfaces
5151
// Temporary `std` exceptions
5252
// FIXME: platform-specific code should be moved to `sys`
5353
"library/std/src/io/copy.rs",

Diff for: triagebot.toml

+9-9
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ trigger_files = [
202202

203203
[autolabel."O-hermit"]
204204
trigger_files = [
205-
"library/std/src/sys/hermit",
205+
"library/std/src/sys/pal/hermit",
206206
"library/std/src/os/hermit"
207207
]
208208

@@ -213,7 +213,7 @@ trigger_files = [
213213

214214
[autolabel."O-itron"]
215215
trigger_files = [
216-
"library/std/src/sys/itron"
216+
"library/std/src/sys/pal/itron"
217217
]
218218

219219
[autolabel."O-linux"]
@@ -238,7 +238,7 @@ trigger_files = [
238238

239239
[autolabel."O-SGX"]
240240
trigger_files = [
241-
"library/std/src/sys/sgx",
241+
"library/std/src/sys/pal/sgx",
242242
"library/std/src/os/fortanix_sgx"
243243
]
244244

@@ -249,25 +249,25 @@ trigger_files = [
249249

250250
[autolabel."O-solid"]
251251
trigger_files = [
252-
"library/std/src/sys/solid",
252+
"library/std/src/sys/pal/solid",
253253
"library/std/src/os/solid"
254254
]
255255

256256
[autolabel."O-unix"]
257257
trigger_files = [
258-
"library/std/src/sys/unix",
258+
"library/std/src/sys/pal/unix",
259259
"library/std/src/os/unix"
260260
]
261261

262262
[autolabel."O-wasi"]
263263
trigger_files = [
264-
"library/std/src/sys/wasi",
264+
"library/std/src/sys/pal/wasi",
265265
"library/std/src/os/wasi"
266266
]
267267

268268
[autolabel."O-wasm"]
269269
trigger_files = [
270-
"library/std/src/sys/wasm",
270+
"library/std/src/sys/pal/wasm",
271271
"library/std/src/os/wasm"
272272
]
273273

@@ -278,7 +278,7 @@ trigger_files = [
278278

279279
[autolabel."O-windows"]
280280
trigger_files = [
281-
"library/std/src/sys/windows",
281+
"library/std/src/sys/pal/windows",
282282
"library/std/src/os/windows"
283283
]
284284

@@ -788,7 +788,7 @@ project-stable-mir = [
788788
"/library/panic_unwind" = ["libs"]
789789
"/library/proc_macro" = ["@petrochenkov"]
790790
"/library/std" = ["libs"]
791-
"/library/std/src/sys/windows" = ["@ChrisDenton", "@thomcc"]
791+
"/library/std/src/sys/pal/windows" = ["@ChrisDenton", "@thomcc"]
792792
"/library/stdarch" = ["libs"]
793793
"/library/test" = ["libs"]
794794
"/src/bootstrap" = ["bootstrap"]

0 commit comments

Comments
 (0)