diff options
Diffstat (limited to 'rust/testing.go')
-rw-r--r-- | rust/testing.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rust/testing.go b/rust/testing.go index c3a462553..aad4ffe35 100644 --- a/rust/testing.go +++ b/rust/testing.go @@ -46,24 +46,29 @@ func GatherRequiredDepsForTest() string { crate_name: "std", srcs: ["foo.rs"], no_stdlibs: true, + host_supported: true, } rust_library_rlib { name: "libstd.static", crate_name: "std", srcs: ["foo.rs"], no_stdlibs: true, + host_supported: true, } rust_library_dylib { name: "libtest", crate_name: "test", srcs: ["foo.rs"], no_stdlibs: true, + host_supported: true, + } rust_library_rlib { name: "libtest.static", crate_name: "test", srcs: ["foo.rs"], no_stdlibs: true, + host_supported: true, } ` + cc.GatherRequiredDepsForTest(android.NoOsType) |