diff options
author | 2024-04-11 17:30:27 +0200 | |
---|---|---|
committer | 2024-04-12 11:04:22 +0200 | |
commit | 91c74762f88e0bb0ea234cbefbaffa32c9b6e671 (patch) | |
tree | 6d6868217da6f2749f96daad3047a05b0f5beaaa /rust/builder.go | |
parent | 2aee601e95a04436805785a453da9b73a6a19abc (diff) |
rust: Remove unnecessary escaping in grep call
Replicate cfeec1c2dd9cab5530952cac961bdd74225525ec in the Clippy rule.
Bug: 333445551
Change-Id: I84134569af0f28730a483f091e6da4c78de83b9c
Diffstat (limited to 'rust/builder.go')
-rw-r--r-- | rust/builder.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/builder.go b/rust/builder.go index 2f5e12aa5..4f45e33c1 100644 --- a/rust/builder.go +++ b/rust/builder.go @@ -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", |