From 8665c2976589fadc75275794294789cbbf8ee1ed Mon Sep 17 00:00:00 2001 From: Luke Mann Date: Mon, 23 Oct 2023 08:56:52 -0700 Subject: [PATCH 1/2] fix missing import --- build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/build.rs b/build.rs index e4c36e0..41ba41f 100644 --- a/build.rs +++ b/build.rs @@ -91,6 +91,7 @@ fn build_circuit(depth: usize) -> Result<()> { fn build_dylib(depth: usize) -> Result<()> { use color_eyre::eyre::eyre; use enumset::enum_set; + use enumset::EnumSet; use std::{env, str::FromStr}; use wasmer::{Module, Store, Target, Triple}; use wasmer_compiler_cranelift::Cranelift; From 3a1a8bd7eb08765d4438e55b09c8f08a0bb8bb76 Mon Sep 17 00:00:00 2001 From: Luke Mann Date: Mon, 23 Oct 2023 10:24:57 -0700 Subject: [PATCH 2/2] update formatting --- build.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build.rs b/build.rs index 41ba41f..00ec9e5 100644 --- a/build.rs +++ b/build.rs @@ -90,8 +90,7 @@ fn build_circuit(depth: usize) -> Result<()> { #[cfg(feature = "dylib")] fn build_dylib(depth: usize) -> Result<()> { use color_eyre::eyre::eyre; - use enumset::enum_set; - use enumset::EnumSet; + use enumset::{enum_set, EnumSet}; use std::{env, str::FromStr}; use wasmer::{Module, Store, Target, Triple}; use wasmer_compiler_cranelift::Cranelift;