commit | 61a798d4062158018f616047f6974e0dad3355f1 | [log] [tgz] |
---|---|---|
author | Stephen Crane <cranes@google.com> | Sat Mar 09 02:18:16 2024 +0000 |
committer | Stephen Crane <cranes@google.com> | Sat Mar 09 02:18:16 2024 +0000 |
tree | f02144777524b7bab2e40d321440db7c3d5ee8d3 | |
parent | 470210a88b33feb94430b1fd80d0c47210b6fc38 [diff] |
make: Ensure that GLOBAL_CRATE_COUNT is initialized GLOBAL_CRATE_COUNT must be initialized before use. We use this variable when generating rules for proc-macros from ALLHOSTMODULES, so we need to initialize it earlier. Bug: None Test: build.py generic-x86_64-test (and inspect rust-project.json) Change-Id: I1de21897ae97cbde4b7e9c822ab0ff0da660fb75