summaryrefslogtreecommitdiff
path: root/rust/rust.go
diff options
context:
space:
mode:
author Seth Moore <sethmo@google.com> 2021-10-13 15:32:18 -0700
committer Seth Moore <sethmo@google.com> 2021-10-14 15:25:07 +0000
commit3afac0b36fc843e46bdbe43ab6fe57c794f12a5f (patch)
tree04ab424f4d77ec1b0375c48b28e91f5005236192 /rust/rust.go
parent2649c7913a541c0e0cc64f01a764139f76862241 (diff)
Flag an error on empty rust module srcs
It's an error if a rust module's srcs is empty. Prior to this change the output was a panic that complains loudly about a slice error and nothing else. This change doesn't stop the panic, but at least adds a bit of context so devs who make a simple mistake can more easily fix it. Test: SOONG_GEN_RUST_PROJECT=1 m nothing Change-Id: Id7d8465d533413c3000699661222a53a7c8678f3
Diffstat (limited to 'rust/rust.go')
0 files changed, 0 insertions, 0 deletions