Revert "Merge pull request #3 from JonasKruckenberg/revert-2-feat/window"
This reverts commit896fc516d3
, reversing changes made to5d6ea2060c
.
This commit is contained in:
parent
896fc516d3
commit
8911f55920
67 changed files with 11705 additions and 573 deletions
18
src/process.rs
Normal file
18
src/process.rs
Normal file
|
@ -0,0 +1,18 @@
|
|||
pub fn exit(exit_code: u32) -> ! {
|
||||
inner::exit(exit_code);
|
||||
unreachable!()
|
||||
}
|
||||
|
||||
pub fn relaunch() {
|
||||
inner::relaunch();
|
||||
}
|
||||
|
||||
mod inner {
|
||||
use wasm_bindgen::prelude::wasm_bindgen;
|
||||
|
||||
#[wasm_bindgen(module = "/dist/process.js")]
|
||||
extern "C" {
|
||||
pub fn exit(exitCode: u32);
|
||||
pub fn relaunch();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue