commit | 1231af292c611c8cf24ca25665c1822c68f63fe1 | [log] [tgz] |
---|---|---|
author | Matthew Maurer <mmaurer@google.com> | Thu Jun 16 13:31:35 2022 -0700 |
committer | Matthew Maurer <mmaurer@google.com> | Thu Jun 16 13:53:21 2022 -0700 |
tree | 0e8972a0cff66ba0e7dcc9f05b898f9cf17da6d6 | |
parent | a9fb65d155b11b689bd98f4057f0a2a2da284ce8 [diff] |
c2a: Fix rust_version calculation string-typed result groups would cause the comparison to fail with a type error. Explicitly casting results to integer for comparison, then back to string for concatenation causes things to work again. Bug: 234744235 Test: Run tool with no --cargo_bin option (and the following patch) (thus using local cargo version detection) and observe success. Change-Id: I91d8de925c1b6eca7c9905ea85e1ad90e01fb1f9