Rework Wasm interface

This commit is contained in:
bakaq
2025-02-20 01:04:38 -03:00
parent b32273fc79
commit 93e804eeaa
5 changed files with 385 additions and 16 deletions
+5 -1
View File
@@ -1,3 +1,7 @@
fn main() -> std::process::ExitCode {
scryer_prolog::run_binary()
#[cfg(target_arch = "wasm32")]
return std::process::ExitCode::SUCCESS;
#[cfg(not(target_arch = "wasm32"))]
return scryer_prolog::run_binary();
}