Skip to content

Commit

Permalink
fix rustdoc URL
Browse files Browse the repository at this point in the history
  • Loading branch information
zachs18 committed Jun 21, 2024
1 parent 1530977 commit 5035a17
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions std/src/sys/pal/common/exit_guard.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cfg_if::cfg_if! {
if #[cfg(target_os = "linux")] {
/// Mitigation for /~https://github.com/rust-lang/rust/issues/126600
/// Mitigation for </~https://github.com/rust-lang/rust/issues/126600>
///
/// On `unix` (where `libc::exit` may not be thread-safe), ensure that only one Rust thread
/// calls `libc::exit` (or returns from `main`) by calling this function before calling
Expand Down Expand Up @@ -78,9 +78,10 @@ cfg_if::cfg_if! {
}
}
} else {
/// Mitigation for /~https://github.com/rust-lang/rust/issues/126600
/// Mitigation for </~https://github.com/rust-lang/rust/issues/126600>
///
/// Mitigation is ***NOT*** implemented on this platform, either because this platform is not affected, or because mitigation is not yet implemented for this platform.
/// Mitigation is ***NOT*** implemented on this platform, either because this platform
/// is not affected, or because mitigation is not yet implemented for this platform.
pub(crate) fn unique_thread_exit() {
// Mitigation not required on platforms where `exit` is thread-safe.
}
Expand Down

0 comments on commit 5035a17

Please sign in to comment.