I use `cargo check` frequently.

https://doc.rust-lang.org/cargo/commands/cargo-check.html

```Check a local package and all of its dependencies for errors. This will 
essentially compile the packages without performing the final step of code 
generation, which is faster than running cargo build. The compiler will save 
metadata files to disk so that future runs will reuse them if the source has 
not been modified.```

One problem with this patch though. As I moved the 3 items down, putting `Cargo 
Check` at the top. When I test my patch, I get the dialog to enter custom text 
when selecting `cargo build`, but before it was when selecting `cargo test`. I 
couldn't figure out where geany was getting the instruction to pop up a 
dialog, as all those fields are the same, both in the filetypes.rs file, and 
when looking at them from the Geany build menu.
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/2573

-- Commit Summary --

  * Add "cargo check" to build commands

-- File Changes --

    M data/filedefs/filetypes.rust (15)

-- Patch Links --

https://github.com/geany/geany/pull/2573.patch
https://github.com/geany/geany/pull/2573.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2573

Reply via email to