Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tour example fails on the web: RuntimeError: unreachable #1522

Closed
2 tasks done
noy1993 opened this issue Nov 10, 2022 · 1 comment · Fixed by #2076
Closed
2 tasks done

tour example fails on the web: RuntimeError: unreachable #1522

noy1993 opened this issue Nov 10, 2022 · 1 comment · Fixed by #2076
Labels
bug Something isn't working shell
Milestone

Comments

@noy1993
Copy link

noy1993 commented Nov 10, 2022

Is there an existing issue for this?

  • I have searched the existing issues.

Is this issue related to iced?

  • My hardware is compatible and my graphics drivers are up-to-date.

What happened?

I want to compile a web version of the tour example. The method you provided was used:
cd examples/tour
trunk serve

The browser cannot display any graphics and reports an error: RuntimeError: unreachable

What is the expected behavior?

The same behavior as the desktop

Version

master

Operative System

Windows

Do you have any log output?

Uncaught (in promise) RuntimeError: unreachable
    at __rust_start_panic (tour-dc667960ab6beea7_bg.wasm:0x1293a3a)
    at rust_panic (tour-dc667960ab6beea7_bg.wasm:0x127fe98)
    at std::panicking::rust_panic_with_hook::h70a0e195f4db2a29 (tour-dc667960ab6beea7_bg.wasm:0xf77890)
    at std::panicking::begin_panic_handler::{{closure}}::hdcfc819ce836829e (tour-dc667960ab6beea7_bg.wasm:0x1044ce8)
    at std::sys_common::backtrace::__rust_end_short_backtrace::h53cabafab5b09ada (tour-dc667960ab6beea7_bg.wasm:0x1275e8e)
    at rust_begin_unwind (tour-dc667960ab6beea7_bg.wasm:0x11ad1cc)
    at core::panicking::panic_fmt::h751be80779d42b53 (tour-dc667960ab6beea7_bg.wasm:0x1244a86)
    at std::time::SystemTime::now::hc0a63dc16c77bca3 (tour-dc667960ab6beea7_bg.wasm:0x1244a03)
    at env_logger::fmt::humantime::imp::<impl env_logger::fmt::Formatter>::timestamp_seconds::haf7734f28160ab95 (tour-dc667960ab6beea7_bg.wasm:0x113e2f0)
    at env_logger::fmt::DefaultFormat::write_timestamp::hb067d7130f409a9c (tour-dc667960ab6beea7_bg.wasm:0xc7e273)
@noy1993 noy1993 added the bug Something isn't working label Nov 10, 2022
@hecrj hecrj added the shell label Nov 16, 2022
@hecrj hecrj added this to the 0.6.0 milestone Nov 16, 2022
@hecrj
Copy link
Member

hecrj commented Nov 16, 2022

I believe this may have been fixed by #1524.

@hecrj hecrj modified the milestones: 0.6.0, 0.7.0 Dec 7, 2022
@hecrj hecrj modified the milestones: 0.7.0, 0.8.0 Jan 14, 2023
@hecrj hecrj modified the milestones: 0.8.0, 0.9.0 Feb 18, 2023
@hecrj hecrj modified the milestones: 0.9.0, 0.10.0 Apr 13, 2023
@hecrj hecrj modified the milestones: 0.10.0, 0.11.0 Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working shell
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants