Closed
Description
Sublime Text Version
E.g Sublime Text 4 (Build 4126)
Rust Enhanced Version
2.24.0
Operating system
Fedora (probably unrelated)
Actual behavior
When saving file in a build.rs
file, rust-enhanced
writes to the status bar:
Rust check failed, see console or debug log.
The debug log:
+0.000 Running: cargo metadata --no-deps
+0.092 Rust Enhanced: Failed to find target for '/home/joao/ouch/build.rs'
Expected behavior
rust-enhanced
should be able to check the build.rs
file at the root of the project, or, if it's not possible, give a better description of what happened.
The debug log left me debugging for several minutes what could be the error reason.
Steps to reproduce
cargo new foo
subl foo/build.rs
- Add the contents
fn main() {}
. - Press Ctrl + S to save
- See status bar.
Metadata
Metadata
Assignees
Labels
No labels