Skip to content

Commit fd78223

Browse files
committed
fixup! Print thread ID in panic message if thread name is unknown
1 parent 589b87f commit fd78223

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

library/std/src/sys/pal/sgx/thread.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,10 @@ impl Thread {
137137
}
138138
}
139139

140+
pub(crate) fn current_os_id() -> Option<u64> {
141+
None
142+
}
143+
140144
pub fn available_parallelism() -> io::Result<NonZero<usize>> {
141145
unsupported()
142146
}

0 commit comments

Comments
 (0)