tiny update

pull/1/head
Able 2022-04-25 15:40:44 -05:00
parent 6f4a88caf7
commit 0c9c0c3753
Signed by: able
GPG Key ID: D164AF5F5700BE51
1 changed files with 4 additions and 4 deletions

View File

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