Wasm-builder runtime-wasm feature (#6177)

* Enable the `runtime-wasm` for wasm builds

This enables the `runtime-wasm` feature for wasm builds. The feature is
not mandatory and will only be activated if it exists in the
`Cargo.toml`.

* Fix compilation

* Update docs

* Uprgade version

* Apply suggestions from code review
This commit is contained in:
Bastian Köcher authored and GitHub committed 2020-05-28 21:06:25 +01:00
1 parent 02c6d50f40
commit c9cc46de3b
11 files changed
+72 -31

No files matched your search

@@ -20,7 +20,7 @@ use wasm_builder_runner::WasmBuilder;
fn main() {
WasmBuilder::new()
.with_current_project()
.with_wasm_builder_from_crates_or_path("1.0.9", "../../../utils/wasm-builder")
.with_wasm_builder_from_crates_or_path("1.0.11", "../../../utils/wasm-builder")
.export_heap_base()
.import_memory()
.build()
@@ -20,7 +20,7 @@ use wasm_builder_runner::WasmBuilder;
fn main() {
WasmBuilder::new()
.with_current_project()
.with_wasm_builder_from_crates_or_path("1.0.9", "../../../utils/wasm-builder")
.with_wasm_builder_from_crates_or_path("1.0.11", "../../../utils/wasm-builder")
.export_heap_base()
.import_memory()
.build()