rust: Create a root file for modules

The new `lib.rs` file is created to refer to all modules written in Rust. This way, only one `rustc` call is needed to compile an arbitrary amount of modules. It also converges with the way crates are structured.
This commit is contained in:
Dorota Czaplejewicz
2019-07-31 09:37:09 +00:00
parent d5f8b0d83b
commit 8326bd7016
3 changed files with 8 additions and 6 deletions

View File

@ -69,7 +69,7 @@ deps = [
# Replacement for eekboard-server
rslib = static_library(
'rslib',
sources: ['imservice.rs'],
sources: ['lib.rs'],
rust_crate_type: 'staticlib'
)