rust: Remove unnecessary escaping in grep call

Replicate cfeec1c2dd in the Clippy rule.

Bug: 333445551
Change-Id: I84134569af0f28730a483f091e6da4c78de83b9c
This commit is contained in:
Alex 2024-04-11 17:30:27 +02:00
parent 2aee601e95
commit 91c74762f8
No known key found for this signature in database

View file

@ -61,7 +61,7 @@ var (
// Use the metadata output as it has the smallest footprint.
"--emit metadata -o $out --emit dep-info=$out.d.raw $in ${libFlags} " +
"$rustcFlags $clippyFlags" +
" && grep \"^$out:\" $out.d.raw > $out.d",
" && grep ^$out: $out.d.raw > $out.d",
CommandDeps: []string{"$clippyCmd"},
Deps: blueprint.DepsGCC,
Depfile: "$out.d",