Get it running in Chrome!

This commit is contained in:
pyrex committed 2024-04-22 21:10:09 -07:00
1 parent aae336ca66
commit 042f2dca79
11 files changed
+1920 -25

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
[package]
name = "run-wasm"
version = "0.1.0"
edition = "2021"
[dependencies]
cargo-run-wasm = "0.3"
+9
View File
@@ -0,0 +1,9 @@
fn main() {
let css = r#"body {
background-color: #000;
margin: 0;
overflow: hidden;
}"#;
cargo_run_wasm::run_wasm_with_css(css);
}