<p>I use <code>cargo check</code> frequently.</p>
<p><a rel="nofollow" href="https://doc.rust-lang.org/cargo/commands/cargo-check.html">https://doc.rust-lang.org/cargo/commands/cargo-check.html</a></p>
<p><code>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.</code></p>
<p>One problem with this patch though. As I moved the 3 items down, putting <code>Cargo Check</code> at the top. When I test my patch, I get the dialog to enter custom text when selecting <code>cargo build</code>, but before it was when selecting <code>cargo test</code>. 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.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/geany/geany/pull/2573'>https://github.com/geany/geany/pull/2573</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Add "cargo check" to build commands</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2573/files#diff-d1689e5e6e624cf2257c1331ca9c5e6a">data/filedefs/filetypes.rust</a>
    (15)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/geany/geany/pull/2573.patch'>https://github.com/geany/geany/pull/2573.patch</a></li>
  <li><a href='https://github.com/geany/geany/pull/2573.diff'>https://github.com/geany/geany/pull/2573.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/2573">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ52ASO3RWBBQZJLMU3SBBYAXANCNFSM4QBC4PUQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ26VJWKYWCGVWZA5ULSBBYAXA5CNFSM4QBC4PU2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4KEFYODA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2573",
"url": "https://github.com/geany/geany/pull/2573",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>