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

The second Rust session always fails #919

Open
sonnyp opened this issue Mar 24, 2024 · 1 comment
Open

The second Rust session always fails #919

sonnyp opened this issue Mar 24, 2024 · 1 comment
Labels
bug Something isn't working rust

Comments

@sonnyp
Copy link
Contributor

sonnyp commented Mar 24, 2024

Steps to reproduce

  1. flatpak kill re.sonny.Workbench.Devel
  2. rm -rf ~/.var/app/re.sonny.Workbench.Devel
  3. Start Workbench from main
  4. Open any Rust demo
  5. Press "Run" - it compiles and execute all good
  6. Open any other Rust demo
  7. Press "Run" - it fails with the following
thread '<unnamed>' panicked at code.rs:4:89:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5

It appears that running only works after a fresh cargo build?

@sonnyp sonnyp added rust bug Something isn't working labels Mar 24, 2024
@sonnyp
Copy link
Contributor Author

sonnyp commented Mar 24, 2024

I can reproduce with the same steps (adjusted) with Workbench 46 from Flathub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working rust
Projects
None yet
Development

No branches or pull requests

1 participant