aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorMatthew Maurer <[email protected]>2023-09-28 20:14:20 +0000
committerMiguel Ojeda <[email protected]>2023-10-15 21:56:26 +0200
commita7135d10754760f0c038497b44c2c2f2b0fb5651 (patch)
tree9a8d9a4a516ef94030638b019ed4925bd21e69ae /scripts/generate_rust_analyzer.py
parent45f97e6385cad6d0e48a27ddcd08793bb4d35851 (diff)
rust: Use grep -Ev rather than relying on GNU grep
While GNU grep supports '\|' when in basic regular expression mode, not all grep implementations do (notably toybox grep, used to build the Android kernel, does not). Switching to grep -Ev enables extended regular expressions which includes support for the '|' operator. Signed-off-by: Matthew Maurer <[email protected]> Reviewed-by: Martin Rodriguez Reboredo <[email protected]> Reviewed-by: Trevor Gross <[email protected]> Reviewed-by: Alice Ryhl <[email protected]> Tested-by: Alice Ryhl <[email protected]> Link: https://lore.kernel.org/r/[email protected] [ Reworded for typo. ] Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions