Skip to content
Snippets Groups Projects
Commit 937ff87a authored by Mohannad Farrag's avatar Mohannad Farrag Committed by Chromium LUCI CQ
Browse files

Don't raise when there's no bindgen flags

The current implementation expects that `--bindgen-flags` will always
exist if there's one or more flag. However, that's not the case in
reality because `--bindgen-flags` is always there regardless of
whether there's flags or not.

See https://source.chromium.org/chromium/chromium/src/+/main:build/rust/rust_bindgen_generator.gni;l=179-187

Bug: 373864033
Change-Id: I5816d06b7be688946dc5d0186a0852aa9588093c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5994214


Reviewed-by: default avatarEtienne Dechamps <edechamps@google.com>
Commit-Queue: Etienne Dechamps <edechamps@google.com>
Auto-Submit: Mohannad Farrag <aymanm@google.com>
Cr-Commit-Position: refs/heads/main@{#1378921}
parent 54b72b81
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment