summaryrefslogtreecommitdiff
path: root/rust/builder.go
diff options
context:
space:
mode:
author Alex <alex.corcoles@veecle.io> 2024-04-11 17:30:27 +0200
committer Alex <alex.corcoles@veecle.io> 2024-04-12 11:04:22 +0200
commit91c74762f88e0bb0ea234cbefbaffa32c9b6e671 (patch)
tree6d6868217da6f2749f96daad3047a05b0f5beaaa /rust/builder.go
parent2aee601e95a04436805785a453da9b73a6a19abc (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.go2
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",