Skip to content

Commit 8b4fb67

Browse files
committed
std: update comments referencing modules in sys
1 parent 4c732f9 commit 8b4fb67

File tree

22 files changed

+47
-47
lines changed

22 files changed

+47
-47
lines changed

Diff for: .reuse/dep5

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Copyright: 2019 The Crossbeam Project Developers
5858
The Rust Project Developers (see https://thanks.rust-lang.org)
5959
License: MIT OR Apache-2.0
6060

61-
Files: library/std/src/sys/unix/locks/fuchsia_mutex.rs
61+
Files: library/std/src/sys/pal/unix/locks/fuchsia_mutex.rs
6262
Copyright: 2016 The Fuchsia Authors
6363
The Rust Project Developers (see https://thanks.rust-lang.org)
6464
License: BSD-2-Clause AND (MIT OR Apache-2.0)

Diff for: compiler/rustc_session/src/config/sigpipe.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
//! NOTE: Keep these constants in sync with `library/std/src/sys/unix/mod.rs`!
1+
//! NOTE: Keep these constants in sync with `library/std/src/sys/pal/unix/mod.rs`!
22
33
/// The default value if `#[unix_sigpipe]` is not specified. This resolves
4-
/// to `SIG_IGN` in `library/std/src/sys/unix/mod.rs`.
4+
/// to `SIG_IGN` in `library/std/src/sys/pal/unix/mod.rs`.
55
///
66
/// Note that `SIG_IGN` has been the Rust default since 2014. See
77
/// <https://github.com/rust-lang/rust/issues/62569>.

Diff for: compiler/rustc_target/src/spec/illumos_base.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ pub fn opts() -> TargetOptions {
3939
// While we support ELF TLS, rust requires a way to register
4040
// cleanup handlers (in C, this would be something along the lines of:
4141
// void register_callback(void (*fn)(void *), void *arg);
42-
// (see src/libstd/sys/unix/fast_thread_local.rs) that is currently
42+
// (see library/std/sys/pal/unix/fast_thread_local.rs) that is currently
4343
// missing in illumos. For now at least, we must fallback to using
4444
// pthread_{get,set}specific.
4545
//has_thread_local: true,

Diff for: library/core/tests/num/int_log.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! This tests the `Integer::{ilog,log2,log10}` methods. These tests are in a
22
//! separate file because there's both a large number of them, and not all tests
33
//! can be run on Android. This is because in Android `ilog2` uses an imprecise
4-
//! approximation:https://github.com/rust-lang/rust/blob/4825e12fc9c79954aa0fe18f5521efa6c19c7539/src/libstd/sys/unix/android.rs#L27-L53
4+
//! approximation:https://github.com/rust-lang/rust/blob/4825e12fc9c79954aa0fe18f5521efa6c19c7539/src/libstd/sys/pal/unix/android.rs#L27-L53
55
66
#[test]
77
fn checked_ilog() {

Diff for: library/std/src/sys/pal/solid/net.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ pub fn cvt_gai(err: c_int) -> io::Result<()> {
163163
}
164164
}
165165

166-
/// Just to provide the same interface as sys/unix/net.rs
166+
/// Just to provide the same interface as sys/pal/unix/net.rs
167167
pub fn cvt_r<T, F>(mut f: F) -> io::Result<T>
168168
where
169169
T: IsMinusOne,

Diff for: library/std/src/sys/pal/wasi/os.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ pub fn env() -> Env {
209209
return Env { iter: result.into_iter() };
210210
}
211211

212-
// See src/libstd/sys/unix/os.rs, same as that
212+
// See src/libstd/sys/pal/unix/os.rs, same as that
213213
fn parse(input: &[u8]) -> Option<(OsString, OsString)> {
214214
if input.is_empty() {
215215
return None;

Diff for: library/std/src/sys/pal/windows/net.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ pub fn cvt_gai(err: c_int) -> io::Result<()> {
9090
if err == 0 { Ok(()) } else { Err(last_error()) }
9191
}
9292

93-
/// Just to provide the same interface as sys/unix/net.rs
93+
/// Just to provide the same interface as sys/pal/unix/net.rs
9494
pub fn cvt_r<T, F>(mut f: F) -> io::Result<T>
9595
where
9696
T: IsMinusOne,

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/miri/src/helpers.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ use rand::RngCore;
2323
use crate::*;
2424

2525
// This mapping should match `decode_error_kind` in
26-
// <https://github.com/rust-lang/rust/blob/master/library/std/src/sys/unix/mod.rs>.
26+
// <https://github.com/rust-lang/rust/blob/master/library/std/src/sys/pal/unix/mod.rs>.
2727
const UNIX_IO_ERROR_TABLE: &[(&str, std::io::ErrorKind)] = {
2828
use std::io::ErrorKind::*;
2929
&[

Diff for: src/tools/miri/src/shims/foreign_items.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ trait EvalContextExtPriv<'mir, 'tcx: 'mir>: crate::MiriInterpCxExt<'mir, 'tcx> {
342342
/// Returns the minimum alignment for the target architecture for allocations of the given size.
343343
fn min_align(&self, size: u64, kind: MiriMemoryKind) -> Align {
344344
let this = self.eval_context_ref();
345-
// List taken from `library/std/src/sys/common/alloc.rs`.
345+
// List taken from `library/std/src/sys/pal/common/alloc.rs`.
346346
// This list should be kept in sync with the one from libstd.
347347
let min_align = match this.tcx.sess.target.arch.as_ref() {
348348
"x86" | "arm" | "mips" | "mips32r6" | "powerpc" | "powerpc64" | "asmjs" | "wasm32" => 8,

Diff for: src/tools/miri/tests/compiletest.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ regexes! {
191191
// erase Rust stdlib path
192192
"[^ \n`]*/(rust[^/]*|checkout)/library/" => "RUSTLIB/",
193193
// erase platform file paths
194-
"sys/[a-z]+/" => "sys/PLATFORM/",
194+
"sys/pal/[a-z]+/" => "sys/pal/PLATFORM/",
195195
// erase paths into the crate registry
196196
r"[^ ]*/\.?cargo/registry/.*/(.*\.rs)" => "CARGO_REGISTRY/.../$1",
197197
}

Diff for: src/tools/miri/tests/fail/alloc/global_system_mixup.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
error: Undefined Behavior: deallocating ALLOC, which is Rust heap memory, using PLATFORM heap deallocation operation
2-
--> RUSTLIB/std/src/sys/PLATFORM/alloc.rs:LL:CC
2+
--> RUSTLIB/std/src/sys/pal/PLATFORM/alloc.rs:LL:CC
33
|
44
LL | FREE();
55
| ^ deallocating ALLOC, which is Rust heap memory, using PLATFORM heap deallocation operation
66
|
77
= help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
88
= help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
99
= note: BACKTRACE:
10-
= note: inside `std::sys::PLATFORM::alloc::<impl std::alloc::GlobalAlloc for std::alloc::System>::dealloc` at RUSTLIB/std/src/sys/PLATFORM/alloc.rs:LL:CC
10+
= note: inside `std::sys::PLATFORM::alloc::<impl std::alloc::GlobalAlloc for std::alloc::System>::dealloc` at RUSTLIB/std/src/sys/pal/PLATFORM/alloc.rs:LL:CC
1111
= note: inside `<std::alloc::System as std::alloc::Allocator>::deallocate` at RUSTLIB/std/src/alloc.rs:LL:CC
1212
note: inside `main`
1313
--> $DIR/global_system_mixup.rs:LL:CC

Diff for: src/tools/miri/tests/fail/concurrency/windows_join_detached.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
error: Undefined Behavior: trying to join a detached thread
2-
--> RUSTLIB/std/src/sys/PLATFORM/thread.rs:LL:CC
2+
--> RUSTLIB/std/src/sys/pal/PLATFORM/thread.rs:LL:CC
33
|
44
LL | let rc = unsafe { c::WaitForSingleObject(self.handle.as_raw_handle(), c::INFINITE) };
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ trying to join a detached thread
66
|
77
= help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
88
= help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
99
= note: BACKTRACE:
10-
= note: inside `std::sys::PLATFORM::thread::Thread::join` at RUSTLIB/std/src/sys/PLATFORM/thread.rs:LL:CC
10+
= note: inside `std::sys::PLATFORM::thread::Thread::join` at RUSTLIB/std/src/sys/pal/PLATFORM/thread.rs:LL:CC
1111
= note: inside `std::thread::JoinInner::<'_, ()>::join` at RUSTLIB/std/src/thread/mod.rs:LL:CC
1212
= note: inside `std::thread::JoinHandle::<()>::join` at RUSTLIB/std/src/thread/mod.rs:LL:CC
1313
note: inside `main`

Diff for: src/tools/miri/tests/fail/function_calls/exported_symbol_bad_unwind2.both.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ panic in a function that cannot unwind
66
stack backtrace:
77
thread caused non-unwinding panic. aborting.
88
error: abnormal termination: the program aborted execution
9-
--> RUSTLIB/std/src/sys/PLATFORM/mod.rs:LL:CC
9+
--> RUSTLIB/std/src/sys/pal/PLATFORM/mod.rs:LL:CC
1010
|
1111
LL | ABORT();
1212
| ^ the program aborted execution
1313
|
14-
= note: inside `std::sys::PLATFORM::abort_internal` at RUSTLIB/std/src/sys/PLATFORM/mod.rs:LL:CC
14+
= note: inside `std::sys::PLATFORM::abort_internal` at RUSTLIB/std/src/sys/pal/PLATFORM/mod.rs:LL:CC
1515
= note: inside `std::panicking::rust_panic_with_hook` at RUSTLIB/std/src/panicking.rs:LL:CC
1616
= note: inside closure at RUSTLIB/std/src/panicking.rs:LL:CC
1717
= note: inside `std::sys_common::backtrace::__rust_end_short_backtrace::<{closure@std::panicking::begin_panic_handler::{closure#0}}, !>` at RUSTLIB/std/src/sys_common/backtrace.rs:LL:CC

Diff for: src/tools/miri/tests/fail/function_calls/exported_symbol_bad_unwind2.definition.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ panic in a function that cannot unwind
66
stack backtrace:
77
thread caused non-unwinding panic. aborting.
88
error: abnormal termination: the program aborted execution
9-
--> RUSTLIB/std/src/sys/PLATFORM/mod.rs:LL:CC
9+
--> RUSTLIB/std/src/sys/pal/PLATFORM/mod.rs:LL:CC
1010
|
1111
LL | ABORT();
1212
| ^ the program aborted execution
1313
|
14-
= note: inside `std::sys::PLATFORM::abort_internal` at RUSTLIB/std/src/sys/PLATFORM/mod.rs:LL:CC
14+
= note: inside `std::sys::PLATFORM::abort_internal` at RUSTLIB/std/src/sys/pal/PLATFORM/mod.rs:LL:CC
1515
= note: inside `std::panicking::rust_panic_with_hook` at RUSTLIB/std/src/panicking.rs:LL:CC
1616
= note: inside closure at RUSTLIB/std/src/panicking.rs:LL:CC
1717
= note: inside `std::sys_common::backtrace::__rust_end_short_backtrace::<{closure@std::panicking::begin_panic_handler::{closure#0}}, !>` at RUSTLIB/std/src/sys_common/backtrace.rs:LL:CC

Diff for: src/tools/miri/tests/fail/intrinsics/uninit_uninhabited_type.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ aborted execution: attempted to instantiate uninhabited type `!`
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
44
thread caused non-unwinding panic. aborting.
55
error: abnormal termination: the program aborted execution
6-
--> RUSTLIB/std/src/sys/PLATFORM/mod.rs:LL:CC
6+
--> RUSTLIB/std/src/sys/pal/PLATFORM/mod.rs:LL:CC
77
|
88
LL | ABORT();
99
| ^ the program aborted execution
1010
|
11-
= note: inside `std::sys::PLATFORM::abort_internal` at RUSTLIB/std/src/sys/PLATFORM/mod.rs:LL:CC
11+
= note: inside `std::sys::PLATFORM::abort_internal` at RUSTLIB/std/src/sys/pal/PLATFORM/mod.rs:LL:CC
1212
= note: inside `std::panicking::rust_panic_with_hook` at RUSTLIB/std/src/panicking.rs:LL:CC
1313
= note: inside closure at RUSTLIB/std/src/panicking.rs:LL:CC
1414
= note: inside `std::sys_common::backtrace::__rust_end_short_backtrace::<{closure@std::panicking::begin_panic_handler::{closure#0}}, !>` at RUSTLIB/std/src/sys_common/backtrace.rs:LL:CC

Diff for: src/tools/miri/tests/fail/intrinsics/zero_fn_ptr.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ aborted execution: attempted to zero-initialize type `fn()`, which is invalid
33
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
44
thread caused non-unwinding panic. aborting.
55
error: abnormal termination: the program aborted execution
6-
--> RUSTLIB/std/src/sys/PLATFORM/mod.rs:LL:CC
6+
--> RUSTLIB/std/src/sys/pal/PLATFORM/mod.rs:LL:CC
77
|
88
LL | ABORT();
99
| ^ the program aborted execution
1010
|
11-
= note: inside `std::sys::PLATFORM::abort_internal` at RUSTLIB/std/src/sys/PLATFORM/mod.rs:LL:CC
11+
= note: inside `std::sys::PLATFORM::abort_internal` at RUSTLIB/std/src/sys/pal/PLATFORM/mod.rs:LL:CC
1212
= note: inside `std::panicking::rust_panic_with_hook` at RUSTLIB/std/src/panicking.rs:LL:CC
1313
= note: inside closure at RUSTLIB/std/src/panicking.rs:LL:CC
1414
= note: inside `std::sys_common::backtrace::__rust_end_short_backtrace::<{closure@std::panicking::begin_panic_handler::{closure#0}}, !>` at RUSTLIB/std/src/sys_common/backtrace.rs:LL:CC

Diff for: src/tools/miri/tests/fail/panic/double_panic.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ thread 'main' panicked at RUSTLIB/core/src/panicking.rs:LL:CC:
88
panic in a destructor during cleanup
99
thread caused non-unwinding panic. aborting.
1010
error: abnormal termination: the program aborted execution
11-
--> RUSTLIB/std/src/sys/PLATFORM/mod.rs:LL:CC
11+
--> RUSTLIB/std/src/sys/pal/PLATFORM/mod.rs:LL:CC
1212
|
1313
LL | ABORT();
1414
| ^ the program aborted execution
1515
|
16-
= note: inside `std::sys::PLATFORM::abort_internal` at RUSTLIB/std/src/sys/PLATFORM/mod.rs:LL:CC
16+
= note: inside `std::sys::PLATFORM::abort_internal` at RUSTLIB/std/src/sys/pal/PLATFORM/mod.rs:LL:CC
1717
= note: inside `std::panicking::rust_panic_with_hook` at RUSTLIB/std/src/panicking.rs:LL:CC
1818
= note: inside closure at RUSTLIB/std/src/panicking.rs:LL:CC
1919
= note: inside `std::sys_common::backtrace::__rust_end_short_backtrace::<{closure@std::panicking::begin_panic_handler::{closure#0}}, !>` at RUSTLIB/std/src/sys_common/backtrace.rs:LL:CC

Diff for: src/tools/miri/tests/fail/shims/fs/isolated_file.stderr

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
error: unsupported operation: `open` not available when isolation is enabled
2-
--> RUSTLIB/std/src/sys/PLATFORM/fs.rs:LL:CC
2+
--> RUSTLIB/std/src/sys/pal/PLATFORM/fs.rs:LL:CC
33
|
44
LL | let fd = cvt_r(|| unsafe { open64(path.as_ptr(), flags, opts.mode as c_int) })?;
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `open` not available when isolation is enabled
66
|
77
= help: pass the flag `-Zmiri-disable-isolation` to disable isolation;
88
= help: or pass `-Zmiri-isolation-error=warn` to configure Miri to return an error code from isolated operations (if supported for that operation) and continue with a warning
99
= note: BACKTRACE:
10-
= note: inside closure at RUSTLIB/std/src/sys/PLATFORM/fs.rs:LL:CC
11-
= note: inside `std::sys::PLATFORM::cvt_r::<i32, {closure@std::sys::PLATFORM::fs::File::open_c::{closure#0}}>` at RUSTLIB/std/src/sys/PLATFORM/mod.rs:LL:CC
12-
= note: inside `std::sys::PLATFORM::fs::File::open_c` at RUSTLIB/std/src/sys/PLATFORM/fs.rs:LL:CC
13-
= note: inside closure at RUSTLIB/std/src/sys/PLATFORM/fs.rs:LL:CC
14-
= note: inside `std::sys::PLATFORM::small_c_string::run_with_cstr::<std::sys::PLATFORM::fs::File, {closure@std::sys::PLATFORM::fs::File::open::{closure#0}}>` at RUSTLIB/std/src/sys/PLATFORM/small_c_string.rs:LL:CC
15-
= note: inside `std::sys::PLATFORM::small_c_string::run_path_with_cstr::<std::sys::PLATFORM::fs::File, {closure@std::sys::PLATFORM::fs::File::open::{closure#0}}>` at RUSTLIB/std/src/sys/PLATFORM/small_c_string.rs:LL:CC
16-
= note: inside `std::sys::PLATFORM::fs::File::open` at RUSTLIB/std/src/sys/PLATFORM/fs.rs:LL:CC
10+
= note: inside closure at RUSTLIB/std/src/sys/pal/PLATFORM/fs.rs:LL:CC
11+
= note: inside `std::sys::PLATFORM::cvt_r::<i32, {closure@std::sys::PLATFORM::fs::File::open_c::{closure#0}}>` at RUSTLIB/std/src/sys/pal/PLATFORM/mod.rs:LL:CC
12+
= note: inside `std::sys::PLATFORM::fs::File::open_c` at RUSTLIB/std/src/sys/pal/PLATFORM/fs.rs:LL:CC
13+
= note: inside closure at RUSTLIB/std/src/sys/pal/PLATFORM/fs.rs:LL:CC
14+
= note: inside `std::sys::PLATFORM::small_c_string::run_with_cstr::<std::sys::PLATFORM::fs::File, {closure@std::sys::PLATFORM::fs::File::open::{closure#0}}>` at RUSTLIB/std/src/sys/pal/PLATFORM/small_c_string.rs:LL:CC
15+
= note: inside `std::sys::PLATFORM::small_c_string::run_path_with_cstr::<std::sys::PLATFORM::fs::File, {closure@std::sys::PLATFORM::fs::File::open::{closure#0}}>` at RUSTLIB/std/src/sys/pal/PLATFORM/small_c_string.rs:LL:CC
16+
= note: inside `std::sys::PLATFORM::fs::File::open` at RUSTLIB/std/src/sys/pal/PLATFORM/fs.rs:LL:CC
1717
= note: inside `std::fs::OpenOptions::_open` at RUSTLIB/std/src/fs.rs:LL:CC
1818
= note: inside `std::fs::OpenOptions::open::<&std::path::Path>` at RUSTLIB/std/src/fs.rs:LL:CC
1919
= note: inside `std::fs::File::open::<&str>` at RUSTLIB/std/src/fs.rs:LL:CC

Diff for: src/tools/miri/tests/fail/terminate-terminator.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ panic in a function that cannot unwind
88
stack backtrace:
99
thread caused non-unwinding panic. aborting.
1010
error: abnormal termination: the program aborted execution
11-
--> RUSTLIB/std/src/sys/PLATFORM/mod.rs:LL:CC
11+
--> RUSTLIB/std/src/sys/pal/PLATFORM/mod.rs:LL:CC
1212
|
1313
LL | ABORT();
1414
| ^ the program aborted execution
1515
|
16-
= note: inside `std::sys::PLATFORM::abort_internal` at RUSTLIB/std/src/sys/PLATFORM/mod.rs:LL:CC
16+
= note: inside `std::sys::PLATFORM::abort_internal` at RUSTLIB/std/src/sys/pal/PLATFORM/mod.rs:LL:CC
1717
= note: inside `std::panicking::rust_panic_with_hook` at RUSTLIB/std/src/panicking.rs:LL:CC
1818
= note: inside closure at RUSTLIB/std/src/panicking.rs:LL:CC
1919
= note: inside `std::sys_common::backtrace::__rust_end_short_backtrace::<{closure@std::panicking::begin_panic_handler::{closure#0}}, !>` at RUSTLIB/std/src/sys_common/backtrace.rs:LL:CC

Diff for: src/tools/miri/tests/fail/unwind-action-terminate.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ panic in a function that cannot unwind
66
stack backtrace:
77
thread caused non-unwinding panic. aborting.
88
error: abnormal termination: the program aborted execution
9-
--> RUSTLIB/std/src/sys/PLATFORM/mod.rs:LL:CC
9+
--> RUSTLIB/std/src/sys/pal/PLATFORM/mod.rs:LL:CC
1010
|
1111
LL | ABORT();
1212
| ^ the program aborted execution
1313
|
14-
= note: inside `std::sys::PLATFORM::abort_internal` at RUSTLIB/std/src/sys/PLATFORM/mod.rs:LL:CC
14+
= note: inside `std::sys::PLATFORM::abort_internal` at RUSTLIB/std/src/sys/pal/PLATFORM/mod.rs:LL:CC
1515
= note: inside `std::panicking::rust_panic_with_hook` at RUSTLIB/std/src/panicking.rs:LL:CC
1616
= note: inside closure at RUSTLIB/std/src/panicking.rs:LL:CC
1717
= note: inside `std::sys_common::backtrace::__rust_end_short_backtrace::<{closure@std::panicking::begin_panic_handler::{closure#0}}, !>` at RUSTLIB/std/src/sys_common/backtrace.rs:LL:CC

Diff for: triagebot.toml

+9-9
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ trigger_files = [
201201

202202
[autolabel."O-hermit"]
203203
trigger_files = [
204-
"library/std/src/sys/hermit",
204+
"library/std/src/sys/pal/hermit",
205205
"library/std/src/os/hermit"
206206
]
207207

@@ -212,7 +212,7 @@ trigger_files = [
212212

213213
[autolabel."O-itron"]
214214
trigger_files = [
215-
"library/std/src/sys/itron"
215+
"library/std/src/sys/pal/itron"
216216
]
217217

218218
[autolabel."O-linux"]
@@ -237,7 +237,7 @@ trigger_files = [
237237

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

@@ -248,25 +248,25 @@ trigger_files = [
248248

249249
[autolabel."O-solid"]
250250
trigger_files = [
251-
"library/std/src/sys/solid",
251+
"library/std/src/sys/pal/solid",
252252
"library/std/src/os/solid"
253253
]
254254

255255
[autolabel."O-unix"]
256256
trigger_files = [
257-
"library/std/src/sys/unix",
257+
"library/std/src/sys/pal/pal/unix",
258258
"library/std/src/os/unix"
259259
]
260260

261261
[autolabel."O-wasi"]
262262
trigger_files = [
263-
"library/std/src/sys/wasi",
263+
"library/std/src/sys/pal/wasi",
264264
"library/std/src/os/wasi"
265265
]
266266

267267
[autolabel."O-wasm"]
268268
trigger_files = [
269-
"library/std/src/sys/wasm",
269+
"library/std/src/sys/pal/wasm",
270270
"library/std/src/os/wasm"
271271
]
272272

@@ -277,7 +277,7 @@ trigger_files = [
277277

278278
[autolabel."O-windows"]
279279
trigger_files = [
280-
"library/std/src/sys/windows",
280+
"library/std/src/sys/pal/windows",
281281
"library/std/src/os/windows"
282282
]
283283

@@ -743,7 +743,7 @@ style-team = [
743743
"/library/panic_unwind" = ["libs"]
744744
"/library/proc_macro" = ["@petrochenkov"]
745745
"/library/std" = ["libs"]
746-
"/library/std/src/sys/windows" = ["@ChrisDenton", "@thomcc"]
746+
"/library/std/src/sys/pal/windows" = ["@ChrisDenton", "@thomcc"]
747747
"/library/stdarch" = ["libs"]
748748
"/library/test" = ["libs"]
749749
"/src/bootstrap" = ["bootstrap"]

0 commit comments

Comments
 (0)