Skip to content

Commit

Permalink
chore(zint): make wasm-opt default features
Browse files Browse the repository at this point in the history
  • Loading branch information
clearloop committed Dec 17, 2023
1 parent 12f0f5f commit f165af5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions cli/elko/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ thiserror.workspace = true
toml.workspace = true
tracing.workspace = true
zinkc = { workspace = true, features = [ "cli", "utils" ] }

[features]
wasm-opt = [ "zinkc/wasm-opt" ]
2 changes: 1 addition & 1 deletion compiler/filetests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ proc-macro2.workspace = true
quote.workspace = true
syn.workspace = true
wat.workspace = true
zinkc = { workspace = true, features = [ "utils" ] }
zinkc = { workspace = true, features = [ "utils", "wasm-opt" ] }

[features]
testing = []
3 changes: 3 additions & 0 deletions zint/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ toml.workspace = true
url.workspace = true
zabi.workspace = true
zinkc = { workspace = true, features = [ "utils" ] }

[features]
wasm-opt = [ "zinkc/wasm-opt" ]
2 changes: 1 addition & 1 deletion zint/src/evm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ impl EVM {
pub fn run(btyecode: &[u8], input: &[u8]) -> Info {
let mut evm = Self::new(btyecode, input);
let info = evm.execute();
tracing::debug!("{info:?}");

tracing::debug!("{info:?}");
info
}
}

0 comments on commit f165af5

Please sign in to comment.