Skip to content

kwillemsen/wasm_winit_wgpu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wasm_winit_wgpu

Prerequisites:

> cargo install wasm-pack
> cargo install miniserve

Run as a desktop app:

> cargo run --bin desktop

To show all crate logging output on windows use:

> set RUST_LOG=wasm_winit_wgpu

Build as wasm and host using miniserve:

> wasm-pack build --target web
> miniserve . --index "index.html" -p 8080

Build as wasm and host using python(3):

> wasm-pack build --target web
> python3 -m http.server 8080

Useful links:

https://rustwasm.github.io/wasm-bindgen/examples/without-a-bundler.html rust-windowing/winit#3560

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published