Skip to content

Conversation

@MiSawa
Copy link
Contributor

@MiSawa MiSawa commented May 22, 2023

Context: #11 (comment)

This PR makes rust-script not generate the source file in the package directory if possible, and let Cargo.toml refer to the given script file as the binary source path in that case. This will let cargo check on the package directory output the original file path instead of the generated one, which makes rust-analyzer correctly treat it in fly check.

@fornwall fornwall merged commit c98f7fe into fornwall:main Jun 12, 2023
@fornwall
Copy link
Owner

Thanks @MiSawa and nice work!

This has now been released in version 0.28.0.

@fornwall fornwall mentioned this pull request Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants