summaryrefslogtreecommitdiff
path: root/rust/rust.go
diff options
context:
space:
mode:
author Matthew Maurer <mmaurer@google.com> 2023-11-21 00:20:02 +0000
committer Matthew Maurer <mmaurer@google.com> 2023-11-22 00:52:34 +0000
commitdb72f7ed803df370951f7a03bd6f6fcad1b357e2 (patch)
treed0355e75a064bfcab5a07a10764a5f6159780844 /rust/rust.go
parenta28404a7b09d3fe7126f1a5863283888377885b0 (diff)
rust: Resolve crate roots outside rust-project
Previously, we manually re-computed crate roots inside project_json for rendering rust-project.json. In addition to added complexity, this meant that generated sources and glob sources would not render correctly - it would select e.g. `src/**.rs` or `:foo` as a crate root. Use a centralized computation of crate roots instead. Bug: 309943184 Test: SOONG_GEN_RUST_PROJECT=1 m nothing, compare rust-project.json Change-Id: I0caddbf600d025a0041f45e69812cdd6f1761234
Diffstat (limited to 'rust/rust.go')
0 files changed, 0 insertions, 0 deletions