feat: add rust browser terminal prototype

This commit is contained in:
zhangheng
2026-06-08 16:34:13 +08:00
commit fd056ce502
43 changed files with 10312 additions and 0 deletions

13
.cargo/config.toml Normal file
View File

@@ -0,0 +1,13 @@
[target.wasm32-unknown-unknown]
rustflags = [
"--cfg",
"getrandom_backend=\"wasm_js\"",
"--cfg",
"erase_components",
]
[target.x86_64-unknown-linux-gnu]
rustflags = [
"--cfg",
"erase_components",
]