Merge "Extend cargo2android.py version matching to include alpha and beta crates"
This commit is contained in:
@@ -142,7 +142,7 @@ CARGO_TEST_LIST_END_PAT = re.compile('^(\d+) tests?, (\d+) benchmarks$')
|
||||
CARGO2ANDROID_RUNNING_PAT = re.compile('^### Running: .*$')
|
||||
|
||||
# Rust package name with suffix -d1.d2.d3(+.*)?.
|
||||
VERSION_SUFFIX_PAT = re.compile(r'^(.*)-[0-9]+\.[0-9]+\.[0-9]+(?:\+.*)?$')
|
||||
VERSION_SUFFIX_PAT = re.compile(r'^(.*)-[0-9]+\.[0-9]+\.[0-9]+(?:-(alpha|beta)\.[0-9]+)?(?:\+.*)?$')
|
||||
|
||||
# Crate types corresponding to a C ABI library
|
||||
C_LIBRARY_CRATE_TYPES = ['staticlib', 'cdylib']
|
||||
|
||||
Reference in New Issue
Block a user