Skip to content

Commit

Permalink
Fix warnings, bump version.
Browse files Browse the repository at this point in the history
Signed-off-by: Gerd Zellweger <[email protected]>
  • Loading branch information
gz committed Jul 16, 2024
1 parent 098c407 commit ae4e829
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [11.1.0] - 2024-07-17
- Support for more AVX512 Extended Features

## [11.0.2] - 2024-04-29
- Fix bug in `has_waitpkg` using wrong bit flag.

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = ["Gerd Zellweger <[email protected]>"]
edition = "2018"
name = "raw-cpuid"
version = "11.0.2"
version = "11.1.0"

description = "A library to parse the x86 CPUID instruction, written in rust with no external dependencies. The implementation closely resembles the Intel CPUID manual description. The library does only depend on libcore."
documentation = "https://docs.rs/raw-cpuid/"
Expand Down
6 changes: 0 additions & 6 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,6 @@ pub mod native_cpuid {
))]
pub use native_cpuid::CpuIdReaderNative;

#[cfg(not(test))]
mod std {
pub use core::ops;
pub use core::option;
}

/// Macro which queries cpuid directly.
///
/// First parameter is cpuid leaf (EAX register value),
Expand Down
2 changes: 1 addition & 1 deletion src/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use crate::*;

#[test]
fn cpuid_impls_debug() {
fn debug_required<T: Debug>(t: T) {}
fn debug_required<T: Debug>(_t: T) {}

debug_required(CpuId::new());
}

0 comments on commit ae4e829

Please sign in to comment.