From 2ec6f547766c4d3f23fa1e06ae389e60f779d79c Mon Sep 17 00:00:00 2001 From: Anton-4 <17049058+Anton-4@users.noreply.github.com> Date: Wed, 4 May 2022 14:22:25 +0200 Subject: [PATCH] corrected formatting of generated code --- wasi-libc-sys/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wasi-libc-sys/build.rs b/wasi-libc-sys/build.rs index 0b318afa43..5ee328f3e4 100644 --- a/wasi-libc-sys/build.rs +++ b/wasi-libc-sys/build.rs @@ -39,7 +39,7 @@ fn main() { fs::copy(&zig_libc_path, &out_file).unwrap(); // Generate some Rust code to indicate where the file is - let generated_rust = format!("pub const WASI_LIBC_PATH: &str = \"{}\";\n", out_file); + let generated_rust = format!("pub const WASI_LIBC_PATH: &str =\n\t\"{}\";\n", out_file); fs::write("src/generated.rs", generated_rust).unwrap(); }