commit | ebcb4d40edcb170b9112b41db70853b473c836e6 | [log] [tgz] |
---|---|---|
author | Yecheng Zhao <zyecheng@google.com> | Wed Feb 28 15:49:06 2024 -0800 |
committer | Yecheng Zhao <zyecheng@google.com> | Wed Feb 28 18:50:04 2024 -0800 |
tree | 89d647feaae3ee3f750094373fd327b4ab5d6069 | |
parent | 12b59e108ad33b96b377c26cb398b4a52df925d9 [diff] |
Ignore system include dirs for bindgen rust_bindgen reaches out to system local include dirs such as /usr/include with high priority. This causes build failures when system has broken/missing headers. The solution is to always add `-nostdinc` to ignore them. Change-Id: I81370f072013518722d9213ad148d6b78eccffd6