commit | 5fca42a7d9664f3d9b8f232c96b11dcc27702457 | [log] [tgz] |
---|---|---|
author | Matthew Maurer <mmaurer@google.com> | Tue Dec 05 00:47:08 2023 +0000 |
committer | Matthew Maurer <mmaurer@google.com> | Tue Dec 05 00:49:47 2023 +0000 |
tree | 4c04c66087160802248f826c414fbd0a98a111df | |
parent | 88f1c1119e89988edf6bae03e71eb9cd9a012ea0 [diff] |
rust: Use wrapper for header file With the update to C++20, we see warnings for #pragma in a non-header file. The entry file for a bindgen compilation is not treated as a header file, which raised this issue. This approach has the added benefit that rather than using an explicit filegroup, it uses the headers exported by the library they're binding against. Bug: 311052584 Test: mma in binder folder Change-Id: Ib0456db5a09f7e5225001837977417186db33876