RPM build fix (reverted CI changes which will need to be un-reverted or made conditional) and vendor Rust dependencies to make builds much faster in any CI system.
This commit is contained in:
6
zeroidc/vendor/num_cpus/examples/values.rs
vendored
Normal file
6
zeroidc/vendor/num_cpus/examples/values.rs
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
extern crate num_cpus;
|
||||
|
||||
fn main() {
|
||||
println!("Logical CPUs: {}", num_cpus::get());
|
||||
println!("Physical CPUs: {}", num_cpus::get_physical());
|
||||
}
|
||||
Reference in New Issue
Block a user