We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82f5d4a commit fc8f2deCopy full SHA for fc8f2de
src/shims/native_lib/trace/child.rs
@@ -53,8 +53,8 @@ impl Supervisor {
53
) -> InterpResult<'tcx, (crate::ImmTy<'tcx>, Option<MemEvents>)> {
54
let mut sv_guard = SUPERVISOR.lock().unwrap();
55
// If the supervisor is not initialised for whatever reason, fast-return.
56
- // This might be desired behaviour, as even on platforms where ptracing
57
- // is not implemented it enables us to enforce that only one FFI call
+ // As a side-effect, even on platforms where ptracing
+ // is not implemented, we enforce that only one FFI call
58
// happens at a time.
59
let Some(sv) = sv_guard.as_mut() else { return f().map(|v| (v, None)) };
60
0 commit comments