atom-community / atom-community/atom-script

Rust run in separate file breaks

Open
#810 8 comments 0 reactions 0 assignees View on GitHub
enhancement question
Dominant language
JavaScript
Stars
730
Forks
264
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.