From 91c74762f88e0bb0ea234cbefbaffa32c9b6e671 Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 11 Apr 2024 17:30:27 +0200 Subject: [PATCH] rust: Remove unnecessary escaping in grep call Replicate cfeec1c2dd9cab5530952cac961bdd74225525ec in the Clippy rule. Bug: 333445551 Change-Id: I84134569af0f28730a483f091e6da4c78de83b9c --- rust/builder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",