summaryrefslogtreecommitdiff
path: root/WebInterface/wasm/asm-paint/src
diff options
context:
space:
mode:
Diffstat (limited to 'WebInterface/wasm/asm-paint/src')
-rw-r--r--WebInterface/wasm/asm-paint/src/main.rs13
1 files changed, 12 insertions, 1 deletions
diff --git a/WebInterface/wasm/asm-paint/src/main.rs b/WebInterface/wasm/asm-paint/src/main.rs
index 0d01b18..f8949ee 100644
--- a/WebInterface/wasm/asm-paint/src/main.rs
+++ b/WebInterface/wasm/asm-paint/src/main.rs
@@ -1,3 +1,14 @@
+use std::os::raw::c_int;
+
+#[no_mangle]
+pub extern fn run_infinite() {
+ std::thread::spawn(move || {
+ loop {
+ println!("iterating infititely");
+ }
+ });
+}
+
fn main() {
- println!("hello wasm world!");
+ println!("haha from wasm lol");
}