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/vmbase/Android.bp b/vmbase/Android.bp
index fb7f6a6..ab87053 100644
--- a/vmbase/Android.bp
+++ b/vmbase/Android.bp
@@ -4,6 +4,7 @@
rust_defaults {
name: "vmbase_rust_defaults",
+ edition: "2021",
host_supported: false,
enabled: false,
target: {
@@ -55,7 +56,6 @@
defaults: ["vmbase_rust_defaults"],
crate_name: "vmbase",
srcs: ["src/lib.rs"],
- edition: "2021",
rustlibs: [
"liblog_rust_nostd",
"libpsci",