rust: Add a call to Rust test framework
This commit is contained in:
@ -73,6 +73,15 @@ rslib = static_library(
|
|||||||
rust_crate_type: 'staticlib'
|
rust_crate_type: 'staticlib'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
rstests = executable(
|
||||||
|
'rstests',
|
||||||
|
sources: ['lib.rs'],
|
||||||
|
rust_args: ['--test'],
|
||||||
|
install: false
|
||||||
|
)
|
||||||
|
|
||||||
|
test('rstests', rstests)
|
||||||
|
|
||||||
libsqueekboard = static_library('libsqueekboard',
|
libsqueekboard = static_library('libsqueekboard',
|
||||||
sources,
|
sources,
|
||||||
link_with: rslib,
|
link_with: rslib,
|
||||||
|
|||||||
Reference in New Issue
Block a user