add web-app stub

This commit is contained in:
2026-08-19 14:57:14 +02:00
parent 05c0f4e37c
commit 49a59cfad6
15 changed files with 2001 additions and 2 deletions
-1
View File
@@ -1,4 +1,3 @@
use std::collections::hash_map;
use std::io;
use std::io::Write;
use std::path::Path;
+2
View File
@@ -1,4 +1,6 @@
pub mod game;
pub mod pattern;
pub mod solver;
#[cfg(feature = "wasm-bindgen")]
pub mod wasm;
pub mod word_list;
+10
View File
@@ -0,0 +1,10 @@
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
extern "C" {
fn alert(s: &str);
}
#[wasm_bindgen]
pub fn greet() {
alert("Hello, wasm-on-web!");
}