Skip to content

Commit b8741db

Browse files
committed
Fix resume()'s rr compatibility
1 parent 4c3caed commit b8741db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

external/libtimetravel

src/linger.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ fn switch_stack(task: &mut Task, group: Group) -> Result<bool> {
310310
let failure = sigsetcontext(resume);
311311
error.replace(failure.expect("resume(): continuation is invalid"));
312312
},
313-
).map_err(|or| or.expect("resume(): continuation contains invalid stack"))?;
313+
)?;
314314
if let Some(error) = error {
315315
Err(error)?;
316316
}

0 commit comments

Comments
 (0)