From 8dbe1d02cdaaf533f91eeaf22e7627ffd8007022 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Mon, 9 May 2022 11:17:48 +0200 Subject: [PATCH] rustfmt --- src/machine.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/machine.rs b/src/machine.rs index 8b077fa815b..2d8f5855330 100644 --- a/src/machine.rs +++ b/src/machine.rs @@ -380,7 +380,8 @@ fn init_extern_statics(this: &mut MiriEvalContext<'mir, 'tcx>) -> InterpResult<' // Most of them are for weak symbols, which we all set to null (indicating that the // symbol is not supported, and triggering fallback code which ends up calling a // syscall that we do support). - for name in &["__cxa_thread_atexit_impl", "getrandom", "statx", "__clock_gettime64"] { + for name in &["__cxa_thread_atexit_impl", "getrandom", "statx", "__clock_gettime64"] + { let layout = this.machine.layouts.usize; let place = this.allocate(layout, MiriMemoryKind::ExternStatic.into())?; this.write_scalar(Scalar::from_machine_usize(0, this), &place.into())?; -- 2.44.0