diff options
| author | 2020-08-07 06:43:44 +0000 | |
|---|---|---|
| committer | 2020-08-07 06:43:44 +0000 | |
| commit | 9bf30424937491f87d61eceb03a84c15f3a6b61a (patch) | |
| tree | 752485c0bd03f02f5c318769bd0630d7a8dc69fb /rust/testing.go | |
| parent | eaebec13127c17304ede6b9553fdbe327848fd3b (diff) | |
| parent | 83ee52f4cdb082c64d55930299eb16145cd10287 (diff) | |
Merge changes I329d0fe3,I8af9115b
* changes:
rust: validate existence of library source
rust: handle modules with same crate_name
Diffstat (limited to 'rust/testing.go')
| -rw-r--r-- | rust/testing.go | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/rust/testing.go b/rust/testing.go index 83b2828e5..925b02c96 100644 --- a/rust/testing.go +++ b/rust/testing.go @@ -44,7 +44,28 @@ func GatherRequiredDepsForTest() string { }, host_supported: true, } - + rust_prebuilt_library { + name: "libstd_x86_64-apple-darwin", + crate_name: "std", + rlib: { + srcs: ["libstd.rlib"], + }, + dylib: { + srcs: ["libstd.so"], + }, + host_supported: true, + } + rust_prebuilt_library { + name: "libtest_x86_64-apple-darwin", + crate_name: "test", + rlib: { + srcs: ["libtest.rlib"], + }, + dylib: { + srcs: ["libtest.so"], + }, + host_supported: true, + } ////////////////////////////// // Device module requirements |