Rework Wasm interface

This commit is contained in:
bakaq
2025-01-31 09:24:39 -03:00
parent b32273fc79
commit 93e804eeaa
5 changed files with 385 additions and 16 deletions

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