]> git.lizzy.rs Git - rust.git/commitdiff
rustfmt
authorRalf Jung <post@ralfj.de>
Mon, 9 May 2022 09:17:48 +0000 (11:17 +0200)
committerRalf Jung <post@ralfj.de>
Mon, 9 May 2022 09:17:52 +0000 (11:17 +0200)
src/machine.rs

index 8b077fa815b1d8c8dfee1548b1da7eb2965af0b2..2d8f5855330f5737c494a657210e33f3690d009f 100644 (file)
@@ -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())?;