Workbench icon indicating copy to clipboard operation
Workbench copied to clipboard

The second Rust session always fails

Open sonnyp opened this issue 3 months ago • 1 comments

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 avatar Mar 24 '24 16:03 sonnyp