-
Notifications
You must be signed in to change notification settings - Fork 61
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
After fixing #115 #166 std::fs (continuing #92 wasm), a new problem arises: glutin/winit doesn't support the web yet:
inline417.js:3 Panic error message: not yet implemented: Glutin-Blank: Platform unsupported
inline418.js:3 Encountered a panic! __cargo_web_snippet_dc2fd915bd92f9e9c6a3bd15174f1414eee3dbaf @ inline418.js:3 __wbg_cargowebsnippetdc2fd915bd92f9e9c6a3bd15174f1414eee3dbaf_ce624dc8989b7508 @ stevenarella.js:262 __wbg_cargowebsnippetdc2fd915bd92f9e9c6a3bd15174f1414eee3dbaf_ce624dc8989b7508 @ bootstrap.js:122 stdweb::webcore::initialization::initialize::{{closure}}::hfaf8b55158d3d793 @ wasm-002ccbc2-399:21 std::panicking::rust_panic_with_hook::h5d8808384a53a826 @ wasm-002ccbc2-378:115 std::panicking::continue_panic_fmt::h821bed92a14cf5d5 @ wasm-002ccbc2-550:52 std::panicking::begin_panic_fmt::h83a0a8c60964976b @ wasm-002ccbc2-609:42 glutin::platform::platform::Context::new_windowed::h12dee54925d08191 @ wasm-002ccbc2-534:54 stevenarella::main2::hcc90ca13771299f1 @ wasm-002ccbc2-70:761 stevenarella::main::hbc764074c370a7d5 @ wasm-002ccbc2-949:2 main @ wasm-002ccbc2-950:2 main @ stevenarella.js:63 (anonymous) @ index.js:5 ./index.js @ 0.bootstrap.js:178 __webpack_require__ @ bootstrap.js:165 Promise.then (async) (anonymous) @ bootstrap.js:4 ./bootstrap.js @ bootstrap.js:344 __webpack_require__ @ bootstrap.js:165 (anonymous) @ client:2 0 @ bootstrap.js:631 __webpack_require__ @ bootstrap.js:165 (anonymous) @ bootstrap.js:332 (anonymous) @ bootstrap.js:335 inline417.js:3 Panic error message: not yet implemented: Glutin-Blank: Platform unsupported __cargo_web_snippet_97495987af1720d8a9a923fa4683a7b683e3acd6 @ inline417.js:3 __wbg_cargowebsnippet97495987af1720d8a9a923fa4683a7b683e3acd6_4d6a8b798885113c @ stevenarella.js:258 __wbg_cargowebsnippet97495987af1720d8a9a923fa4683a7b683e3acd6_4d6a8b798885113c @ bootstrap.js:125 stdweb::webcore::initialization::initialize::{{closure}}::hfaf8b55158d3d793 @ wasm-002ccbc2-399:72 std::panicking::rust_panic_with_hook::h5d8808384a53a826 @ wasm-002ccbc2-378:115 std::panicking::continue_panic_fmt::h821bed92a14cf5d5 @ wasm-002ccbc2-550:52 std::panicking::begin_panic_fmt::h83a0a8c60964976b @ wasm-002ccbc2-609:42 glutin::platform::platform::Context::new_windowed::h12dee54925d08191 @ wasm-002ccbc2-534:54 stevenarella::main2::hcc90ca13771299f1 @ wasm-002ccbc2-70:761 stevenarella::main::hbc764074c370a7d5 @ wasm-002ccbc2-949:2 main @ wasm-002ccbc2-950:2 main @ stevenarella.js:63 (anonymous) @ index.js:5 ./index.js @ 0.bootstrap.js:178 __webpack_require__ @ bootstrap.js:165 Promise.then (async) (anonymous) @ bootstrap.js:4 ./bootstrap.js @ bootstrap.js:344 __webpack_require__ @ bootstrap.js:165 (anonymous) @ client:2 0 @ bootstrap.js:631 __webpack_require__ @ bootstrap.js:165 (anonymous) @ bootstrap.js:332 (anonymous) @ bootstrap.js:335 inline416.js:3 Panic location: /Users/admin/.cargo/git/checkouts/glutin-390166537a874d6b/1e48d32/glutin/src/platform/blank/mod.rs:32 __cargo_web_snippet_72fc447820458c720c68d0d8e078ede631edd723 @ inline416.js:3 __wbg_cargowebsnippet72fc447820458c720c68d0d8e078ede631edd723_60857d6a328c5ce1 @ stevenarella.js:254 __wbg_cargowebsnippet72fc447820458c720c68d0d8e078ede631edd723_60857d6a328c5ce1 @ bootstrap.js:128 stdweb::webcore::initialization::initialize::{{closure}}::hfaf8b55158d3d793 @ wasm-002ccbc2-399:104 std::panicking::rust_panic_with_hook::h5d8808384a53a826 @ wasm-002ccbc2-378:115 std::panicking::continue_panic_fmt::h821bed92a14cf5d5 @ wasm-002ccbc2-550:52 std::panicking::begin_panic_fmt::h83a0a8c60964976b @ wasm-002ccbc2-609:42 glutin::platform::platform::Context::new_windowed::h12dee54925d08191 @ wasm-002ccbc2-534:54 stevenarella::main2::hcc90ca13771299f1 @ wasm-002ccbc2-70:761 stevenarella::main::hbc764074c370a7d5 @ wasm-002ccbc2-949:2 main @ wasm-002ccbc2-950:2 main @ stevenarella.js:63 (anonymous) @ index.js:5 ./index.js @ 0.bootstrap.js:178 __webpack_require__ @ bootstrap.js:165 Promise.then (async) (anonymous) @ bootstrap.js:4 ./bootstrap.js @ bootstrap.js:344 __webpack_require__ @ bootstrap.js:165 (anonymous) @ client:2 0 @ bootstrap.js:631 __webpack_require__ @ bootstrap.js:165 (anonymous) @ bootstrap.js:332 (anonymous) @ bootstrap.js:335 bootstrap.js:5 Error importing `index.js`: RuntimeError: unreachable at __rust_start_panic (wasm-function[1045]:1) at rust_panic (wasm-function[704]:31) at std::panicking::rust_panic_with_hook::h5d8808384a53a826 (wasm-function[378]:304) at std::panicking::continue_panic_fmt::h821bed92a14cf5d5 (wasm-function[550]:116) at std::panicking::begin_panic_fmt::h83a0a8c60964976b (wasm-function[609]:95) at glutin::platform::platform::Context::new_windowed::h12dee54925d08191 (wasm-function[534]:120) at stevenarella::main2::hcc90ca13771299f1 (wasm-function[70]:1695) at stevenarella::main::hbc764074c370a7d5 (wasm-function[949]:1) at main (wasm-function[950]:1) at Module.main (webpack:///../pkg/stevenarella.js?:63:66)#34 Investigate rendering backends, such as gfx-rs or wgpu
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working