| Crates.io | cupid |
| lib.rs | cupid |
| version | 0.6.1 |
| created_at | 2015-07-12 03:14:14.175921+00 |
| updated_at | 2018-10-07 22:57:53.581704+00 |
| description | Native access to the x86 and x86_64 CPUID instruction |
| homepage | |
| repository | https://github.com/shepmaster/cupid |
| max_upload_size | |
| id | 2583 |
| size | 43,289 |
Native Rust access to the x86 and x86_64 CPUID instruction.
extern crate cupid;
fn main() {
let information = cupid::master();
println!("{:#?}", information);
if let Some(information) = information {
if information.sse4_2() {
println!("SSE 4.2 Available");
}
}
}
git checkout -b my-new-feature)git commit -am 'Add some feature')git push origin my-new-feature)