Skip to content

Commit e5b72fa

Browse files
committed
Trim verbose clone() comment in powerpc64.rs
MIPS got the concise treatment, PPC64 was feeling left out.
1 parent fa4a9d6 commit e5b72fa

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/arch/powerpc64.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -253,11 +253,8 @@ pub(super) unsafe fn relocation_mprotect_readonly(ptr: usize, len: usize) {
253253
#[cfg(feature = "thread")]
254254
pub(super) const STACK_ALIGNMENT: usize = 16;
255255

256-
/// A wrapper around the Linux `clone` system call.
257-
///
258-
/// This can't be implemented in `rustix` because the child starts executing at
259-
/// the same point as the parent and we need to use inline asm to have the
260-
/// child jump to our new-thread entrypoint.
256+
/// Linux `clone` syscall wrapper. Inline asm required because child resumes
257+
/// at same point as parent and must jump to our thread entrypoint.
261258
#[cfg(feature = "take-charge")]
262259
#[cfg(feature = "thread")]
263260
#[inline]

0 commit comments

Comments
 (0)