fix compilation of wasm32 test and skip to run wasm32 tests

This commit is contained in:
Bennet Bleßmann
2024-02-16 23:18:21 +01:00
parent 7fce688769
commit e5ad70c093
4 changed files with 37 additions and 29 deletions

View File

@@ -1,11 +1,10 @@
fn main() -> std::process::ExitCode {
use scryer_prolog::atom_table::Atom;
use scryer_prolog::*;
use std::sync::atomic::Ordering;
#[cfg(feature = "repl")]
ctrlc::set_handler(move || {
scryer_prolog::machine::INTERRUPT.store(true, Ordering::Relaxed);
scryer_prolog::machine::INTERRUPT.store(true, std::sync::atomic::Ordering::Relaxed);
})
.unwrap();