Add "auto" backend to change the backend depending on the wasm file size

This commit is contained in:
Asami Doi
2019-11-22 19:02:57 +09:00
parent dfc7163b71
commit fd0df9946b
5 changed files with 34 additions and 10 deletions

View File

@ -265,6 +265,7 @@ fn requires_pre_validation(backend: Backend) -> bool {
Backend::Cranelift => true,
Backend::LLVM => true,
Backend::Singlepass => false,
Backend::Auto => false,
}
}