diff --git a/algebraic-gpu/src/witness/witness_calculator.rs b/algebraic-gpu/src/witness/witness_calculator.rs index cf344cde..b6db79aa 100644 --- a/algebraic-gpu/src/witness/witness_calculator.rs +++ b/algebraic-gpu/src/witness/witness_calculator.rs @@ -10,9 +10,7 @@ use serde_json::Value; use std::str::FromStr; use wasmer::{imports, Function, Instance, Memory, MemoryType, Module, Store}; -#[cfg(not(feature = "wasm"))] use std::fs::OpenOptions; -#[cfg(not(feature = "wasm"))] use std::io::{BufWriter, Write}; use byteorder::{LittleEndian, WriteBytesExt}; @@ -185,7 +183,6 @@ impl WitnessCalculator { Ok(w) } - #[cfg(not(feature = "wasm"))] pub fn save_witness_to_bin_file( &mut self, filename: &str, diff --git a/algebraic/src/witness/witness_calculator.rs b/algebraic/src/witness/witness_calculator.rs index 25703c62..a938e4e1 100644 --- a/algebraic/src/witness/witness_calculator.rs +++ b/algebraic/src/witness/witness_calculator.rs @@ -10,9 +10,7 @@ use serde_json::Value; use std::str::FromStr; use wasmer::{imports, Function, Instance, Memory, MemoryType, Module, Store}; -#[cfg(not(feature = "wasm"))] use std::fs::OpenOptions; -#[cfg(not(feature = "wasm"))] use std::io::{BufWriter, Write}; use byteorder::{LittleEndian, WriteBytesExt}; @@ -185,7 +183,6 @@ impl WitnessCalculator { Ok(w) } - #[cfg(not(feature = "wasm"))] pub fn save_witness_to_bin_file( &mut self, filename: &str,