Skip to content

Commit fc8f2de

Browse files
nia-eRalfJung
andauthored
Update src/shims/native_lib/trace/child.rs
Co-authored-by: Ralf Jung <post@ralfj.de>
1 parent 82f5d4a commit fc8f2de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/shims/native_lib/trace/child.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ impl Supervisor {
5353
) -> InterpResult<'tcx, (crate::ImmTy<'tcx>, Option<MemEvents>)> {
5454
let mut sv_guard = SUPERVISOR.lock().unwrap();
5555
// 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
56+
// As a side-effect, even on platforms where ptracing
57+
// is not implemented, we enforce that only one FFI call
5858
// happens at a time.
5959
let Some(sv) = sv_guard.as_mut() else { return f().map(|v| (v, None)) };
6060

0 commit comments

Comments
 (0)