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
This commit is contained in:
parent
b43191c90c
commit
b8a4c2cad1
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue