mirror of
https://github.com/openharmony/third_party_rust_num_cpus.git
synced 2026-07-01 20:44:00 -04:00
11 lines
141 B
Rust
11 lines
141 B
Rust
#![deny(warnings)]
|
|
|
|
extern crate gcc;
|
|
|
|
fn main() {
|
|
gcc::compile_library(
|
|
"libnumcpus.a",
|
|
&["extern/num_cpus.c"]
|
|
);
|
|
}
|