Skip to content

Commit

Permalink
[REVERT ME] Forze serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
syrusakbary committed Apr 30, 2021
1 parent 6290573 commit 79027cb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/cli/src/commands/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,9 @@ impl Run {
let module_result: Result<Module> = if !self.disable_cache && contents.len() > 0x1000 {
self.get_module_from_cache(&store, &contents, &engine_type, &compiler_type)
} else {
Module::new(&store, &contents).map_err(|e| e.into())
let module = Module::new(&store, &contents)?;
let _serialized = module.serialize()?;
Ok(module)
};
#[cfg(not(feature = "cache"))]
let module_result = Module::new(&store, &contents);
Expand Down

0 comments on commit 79027cb

Please sign in to comment.