commit | 26a2ee43daee682c0f02d783bb2fb45580ee22ed | [log] [tgz] |
---|---|---|
author | Yecheng Zhao <zyecheng@google.com> | Mon Feb 19 20:30:26 2024 +0000 |
committer | Ulises Mendez Martinez <umendez@google.com> | Mon Feb 19 21:09:28 2024 +0000 |
tree | 295459a93b6c903538037b37cae79cfca0666e4f | |
parent | 779036fdf1ad187f0dca1629f1c2c50b3f029f63 [diff] |
Fix header only cc_library for bindgen rust_bindgen() in newer versions of rules_rust no longer accepts header only cc_library() for the `cc_lib` field. The solution now is to add a placeholder source file to all existing header libraries that are passed to rust_bindgen(). Bug: 325494729 Change-Id: I6d06c14bb234b847590e2cc4de25d92fb262bad4