Complete Week 1 AOT implementation with working CLI and .cwasm generation

Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-08-14 04:44:26 +00:00
parent db9bcd3b45
commit a5bcf95bdd
4 changed files with 81 additions and 6 deletions

View File

@ -1446,8 +1446,8 @@ fn execute_aot_mode(filename: &str, output_file: Option<&String>) {
println!(" Size ratio: {:.2}x", ratio);
}
println!("📄 AOT executable written to: {}", output_path);
println!("🚀 Run with: ./{}", output_path);
println!("📄 AOT precompiled module written to: {}.cwasm", output_path);
println!("🚀 This creates a precompiled WASM module for faster loading");
},
Err(e) => {
eprintln!("❌ AOT compilation error: {}", e);