From 99b15238b6c5aa22f434bc5660c3ffbbda0a4d8e Mon Sep 17 00:00:00 2001 From: Able Date: Mon, 25 Apr 2022 15:40:44 -0500 Subject: [PATCH] tiny update --- aos_wasm_stress_test/src/main.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/aos_wasm_stress_test/src/main.rs b/aos_wasm_stress_test/src/main.rs index 0d893eb..7abe348 100644 --- a/aos_wasm_stress_test/src/main.rs +++ b/aos_wasm_stress_test/src/main.rs @@ -1,7 +1,7 @@ #![no_std] #![no_main] -use libwasm::{driver::DriverExitCode, get_input}; +use libwasm::driver::DriverExitCode; #[no_mangle] fn start() -> i32 { @@ -11,9 +11,9 @@ fn start() -> i32 { send_signal(PID(1), Signals::Quit); rand = get_random(); ret = 1; - let x = b"Hi there"; + let x = b"Hi there\n"; for i in x { - print_char(*i as i64); + print_char(*i as i32); } } @@ -39,5 +39,5 @@ use { mod panic; extern "C" { - fn print_char(c: i64); + fn print_char(c: i32); }