Skip to content

Rust run in separate file breaks #810

Open
@EntilZha

Description

@EntilZha

When using Script:run with a active file that is not main.rs, it returns an error that a main function cannot be found.

This boils down to script probably trying to run the current file, than running the project's main file.

With some guidance, I can provide a PR to help fix this/add the behavior since its a little annoying. Alternatively, can script options be used to achieve the same goal?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions