mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 14:37:57 +00:00
c9cc46de3b
* 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
11 lines
194 B
Rust
11 lines
194 B
Rust
use wasm_builder_runner::WasmBuilder;
|
|
|
|
fn main() {
|
|
WasmBuilder::new()
|
|
.with_current_project()
|
|
.with_wasm_builder_from_crates("1.0.11")
|
|
.export_heap_base()
|
|
.import_memory()
|
|
.build()
|
|
}
|