mirror of
https://github.com/DioxusLabs/dioxus
synced 2025-01-03 08:18:48 +00:00
8 lines
244 B
Rust
8 lines
244 B
Rust
use std::{fs::File, io::Write};
|
|
|
|
fn main() {
|
|
// write the interpreter code to a local file
|
|
let mut file = File::create("interpreter.js").unwrap();
|
|
file.write_all(dioxus_interpreter_js::INTERPRTER_JS.as_bytes())
|
|
.unwrap();
|
|
}
|