Skip to content

The second Rust session always fails #919

Open
@sonnyp

Description

@sonnyp

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingrust

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions