commit | 6472ccd6e5b40b08766758f0e12e898aac998056 | [log] [tgz] |
---|---|---|
author | Alan Stokes <alanstokes@google.com> | Wed Aug 31 13:41:28 2022 +0100 |
committer | Alan Stokes <alanstokes@google.com> | Wed Aug 31 14:40:53 2022 +0100 |
tree | f7984294edd741d8463556a96adffbd89aa51dab | |
parent | 52b7ba2a62997665fb606594b5e292920eb8863f [diff] [blame] |
Migrate to Rust 2021 edition I only wanted this in one place, but thought we might as well do it all in one go. In a couple of places I added an explicit edition instead of using the default (whatever that is). See https://doc.rust-lang.org/edition-guide/rust-2021/index.html. Test: find . -name "Android.bp" -type f|xargs grep edition | grep -v 2021 Test: atest ComposHostTestCases MicrodroidHostTestCases Change-Id: I4de050078b303cc5614d230e0d36d5454d60a807
diff --git a/compos/composd_cmd/Android.bp b/compos/composd_cmd/Android.bp index c230e13..61df328 100644 --- a/compos/composd_cmd/Android.bp +++ b/compos/composd_cmd/Android.bp
@@ -5,7 +5,7 @@ rust_binary { name: "composd_cmd", srcs: ["composd_cmd.rs"], - edition: "2018", + edition: "2021", rustlibs: [ "android.system.composd-rust", "libanyhow",