Mokhtar Naamani 5 years ago
parent
commit
dfaa911765
1 changed files with 7 additions and 8 deletions
  1. 7 8
      build.rs

+ 7 - 8
build.rs

@@ -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",
+    );
 }
-