Merge "rust: Test with full Rust “crate_type”"
This commit is contained in:
@@ -45,7 +45,7 @@ func TestLibraryVariants(t *testing.T) {
|
|||||||
rlibCrateType := "rlib"
|
rlibCrateType := "rlib"
|
||||||
dylibCrateType := "dylib"
|
dylibCrateType := "dylib"
|
||||||
sharedCrateType := "cdylib"
|
sharedCrateType := "cdylib"
|
||||||
staticCrateType := "static"
|
staticCrateType := "staticlib"
|
||||||
|
|
||||||
// Test crate type for rlib is correct.
|
// Test crate type for rlib is correct.
|
||||||
if !strings.Contains(libfooRlib.Args["rustcFlags"], "crate-type="+rlibCrateType) {
|
if !strings.Contains(libfooRlib.Args["rustcFlags"], "crate-type="+rlibCrateType) {
|
||||||
|
Reference in New Issue
Block a user