diff options
author | 2022-11-18 11:52:57 +0100 | |
---|---|---|
committer | 2022-11-18 12:10:58 +0100 | |
commit | b8a4c2cad14ef007f1f7268bd6429fbca7bc7960 (patch) | |
tree | 2d55f9e0d77e9e1598f9f0206f9aa0c64896e453 /rust/library_test.go | |
parent | b43191c90c6088b0f87c1cfa5b8c8a4fb17907b1 (diff) |
rust: Test with full Rust “crate_type”
What we call “static” in Soong is called “staticlib” in Rust, see
https://doc.rust-lang.org/reference/linkage.html for details.
Bug: 254469782
Test: atest
Change-Id: I65bba511d3ce8e7e53c6a1de3e77e30568934ce7
Diffstat (limited to 'rust/library_test.go')
-rw-r--r-- | rust/library_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/library_test.go b/rust/library_test.go index 4633cc7ba..729d4b71d 100644 --- a/rust/library_test.go +++ b/rust/library_test.go @@ -45,7 +45,7 @@ func TestLibraryVariants(t *testing.T) { rlibCrateType := "rlib" dylibCrateType := "dylib" sharedCrateType := "cdylib" - staticCrateType := "static" + staticCrateType := "staticlib" // Test crate type for rlib is correct. if !strings.Contains(libfooRlib.Args["rustcFlags"], "crate-type="+rlibCrateType) { |