Split crates and clean up structure of codebase (#294)

Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Félix Saparelli 2022-08-20 23:24:12 +12:00 committed by GitHub
parent bf700f9012
commit 4b00f5f143
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
88 changed files with 2989 additions and 1423 deletions

View file

@ -0,0 +1,13 @@
use std::process::exit;
use detect_wasi::detect_wasi_runability;
fn main() {
if detect_wasi_runability().unwrap() {
println!("WASI is runnable!");
exit(0);
} else {
println!("WASI is not runnable");
exit(1);
}
}