@@ -1,6 +1,6 @@ |
|
|
1 |
1 |
cfg_if::cfg_if! { |
2 |
2 |
if #[cfg(target_os = "linux")] { |
3 |
|
-/// Mitigation for https://github.com/rust-lang/rust/issues/126600 |
|
3 |
+/// Mitigation for https://github.com/rust-lang/rust/issues/126600\ |
4 |
4 |
/// |
5 |
5 |
/// On `unix` (where `libc::exit` may not be thread-safe), ensure that only one Rust thread |
6 |
6 |
/// calls `libc::exit` (or returns from `main`) by calling this function before calling |
@@ -78,9 +78,10 @@ cfg_if::cfg_if! { |
|
|
78 |
78 |
} |
79 |
79 |
} |
80 |
80 |
} else { |
81 |
|
-/// Mitigation for https://github.com/rust-lang/rust/issues/126600 |
|
81 |
+/// Mitigation for https://github.com/rust-lang/rust/issues/126600\ |
82 |
82 |
/// |
83 |
|
- /// Mitigation is ***NOT*** implemented on this platform, either because this platform is not affected, or because mitigation is not yet implemented for this platform. |
|
83 |
+ /// Mitigation is ***NOT*** implemented on this platform, either because this platform |
|
84 |
+ /// is not affected, or because mitigation is not yet implemented for this platform. |
84 |
85 |
pub(crate) fn unique_thread_exit() { |
85 |
86 |
// Mitigation not required on platforms where `exit` is thread-safe. |
86 |
87 |
} |