lscpu
Implementation of lscpu in rust
Run a std example
cargo run --example std
This code can be runned also in a no-std environment but you will need to figure out how to print the String :)
Preview
use lscpu;
Implementation of lscpu in rust
cargo run --example std
This code can be runned also in a no-std environment but you will need to figure out how to print the String :)
use lscpu::lscpu;
fn main() {
println!("{}", lscpu());
}