wasmtime: add build-time option for parallel compilation (#1903)

When running in embedded environments, threads creation is sometimes
undesirable. This adds a feature to toggle wasmtime's internal thread
creation for parallel compilation.
This commit is contained in:
Daiki Ueno
2020-07-06 18:22:05 +02:00
committed by GitHub
parent 80ff22fd18
commit 2ce2dd0203
6 changed files with 145 additions and 119 deletions

1
Cargo.lock generated
View File

@@ -2417,6 +2417,7 @@ dependencies = [
"anyhow",
"base64 0.12.1",
"bincode",
"cfg-if",
"cranelift-codegen",
"cranelift-entity",
"cranelift-frontend",