From 6cddc25ddde5bb1d6c8f34e744d2679ff4f98128 Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Fri, 26 Jul 2019 11:12:13 -0700 Subject: [PATCH] Derive Debug on these small structs. --- lib/runtime-core/src/backend.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/runtime-core/src/backend.rs b/lib/runtime-core/src/backend.rs index 572fe7fb9..5253a59f5 100644 --- a/lib/runtime-core/src/backend.rs +++ b/lib/runtime-core/src/backend.rs @@ -110,13 +110,13 @@ impl Default for MemoryBoundCheckMode { } } -#[derive(Default)] +#[derive(Debug, Default)] pub struct Features { pub simd: bool, } /// Configuration data for the compiler -#[derive(Default)] +#[derive(Debug, Default)] pub struct CompilerConfig { /// Symbol information generated from emscripten; used for more detailed debug messages pub symbol_map: Option>,