Remove restriction on android config in generated rust_library targets

Bug: b/290790800
Test: b build //external/rust/crates/... --config=android
Change-Id: Id06dc94f8bff519c09de7a0de0f1999cf310f599
This commit is contained in:
Vinh Tran
2023-10-12 15:28:14 -04:00
parent a51d0d7d5c
commit fb8c5a54ea
2 changed files with 2 additions and 8 deletions

View File

@@ -101,8 +101,7 @@ rust_library_host {
`,
},
ExpectedBazelTargets: []string{
// TODO(b/290790800): Remove the restriction when rust toolchain for android is implemented
makeBazelTargetHostOrDevice("rust_library", "libfoo", expectedAttrs, android.HostSupported),
MakeBazelTargetNoRestrictions("rust_library", "libfoo", expectedAttrs),
makeBazelTargetHostOrDevice("rust_library", "libfoo_host", expectedAttrs, android.HostSupported),
},
},