|
@@ -33,12 +33,11 @@ seems `rls run ...` is being run instead of `rustup run ...`
|
|
|
*/
|
|
|
|
|
|
fn main() {
|
|
|
- build_current_project_with_rustflags(
|
|
|
- "wasm_binary.rs",
|
|
|
- WasmBuilderSource::Crates("1.0.4"),
|
|
|
- // This instructs LLD to export __heap_base as a global variable, which is used by the
|
|
|
- // external memory allocator.
|
|
|
- "-Clink-arg=--export=__heap_base",
|
|
|
- );
|
|
|
+ build_current_project_with_rustflags(
|
|
|
+ "wasm_binary.rs",
|
|
|
+ WasmBuilderSource::Crates("1.0.4"),
|
|
|
+ // This instructs LLD to export __heap_base as a global variable, which is used by the
|
|
|
+ // external memory allocator.
|
|
|
+ "-Clink-arg=--export=__heap_base",
|
|
|
+ );
|
|
|
}
|
|
|
-
|