clean up (second pass)

This commit is contained in:
Mark McCaskey
2019-03-27 14:08:17 -07:00
parent 09068c1a74
commit 315d8286c4
6 changed files with 9 additions and 2 deletions

View File

@ -129,6 +129,8 @@ pub fn compile(wasm: &[u8]) -> error::CompileResult<Module> {
wasmer_runtime_core::compile_with(&wasm[..], default_compiler())
}
/// The same as `compile` but takes a `CompilerConfig` for the purpose of
/// changing the compiler's behavior
pub fn compile_with_config(
wasm: &[u8],
compiler_config: CompilerConfig,