commit | 71722b10e5df36b3508e1afe165c3831cde13e2a | [log] [tgz] |
---|---|---|
author | Frederick Mayle <fmayle@google.com> | Wed Jul 27 00:13:52 2022 +0000 |
committer | Frederick Mayle <fmayle@google.com> | Wed Jul 27 00:13:52 2022 +0000 |
tree | 9a05854b71420420486dcde6cf41a0f23b9add2c | |
parent | 5a5aa3357a6cb561dfb741e343a23be4660b963d [diff] |
cargo2android: Fix edge case in --add_workspace feature If the last line of a Cargo.toml was a `[*]`, then appending `[workspace]` without newlines would result in an invalid toml file. external/crosvm/tracing/Cargo.toml is an example. Test: ran on crosvm Change-Id: Ib949e7f92d0205b1bc6433d1e231924832ddb536