You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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:The debug log:
Expected behavior
rust-enhanced
should be able to check thebuild.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
fn main() {}
.The text was updated successfully, but these errors were encountered: