summaryrefslogtreecommitdiff
path: root/rust/rust_test.go
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2019-11-20 16:39:12 -0800
committerColin Cross <ccross@android.com>2019-12-13 20:44:36 -0800
commit7113d20774cd08b03fae4fb990bb15a791440152 (patch)
treebeea3fca19cbee0a6cd779823a74673672983b21 /rust/rust_test.go
parentac68248051e778708f665e16ed364103a6f9897c (diff)
Use empty string for core image variant
Use the empty string for the core image variant so that modules added to imageMutator do not change their build directory. Bug: 142286466 Test: m checkbuild Change-Id: Ida4534d9a4d6176236aaa480fed359ce27acfaa1 Merged-In: Ida4534d9a4d6176236aaa480fed359ce27acfaa1 (cherry picked from commit 72d685ee7f45e5393be44ae4159edf083ac918de)
Diffstat (limited to 'rust/rust_test.go')
-rw-r--r--rust/rust_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/rust_test.go b/rust/rust_test.go
index 91c2f0956..01b89dbe2 100644
--- a/rust/rust_test.go
+++ b/rust/rust_test.go
@@ -245,7 +245,7 @@ func TestNoStdlibs(t *testing.T) {
srcs: ["foo.rs"],
no_stdlibs: true,
}`)
- module := ctx.ModuleForTests("fizz-buzz", "android_arm64_armv8-a_core").Module().(*Module)
+ module := ctx.ModuleForTests("fizz-buzz", "android_arm64_armv8-a").Module().(*Module)
if android.InList("libstd", module.Properties.AndroidMkDylibs) {
t.Errorf("no_stdlibs did not suppress dependency on libstd")