Skip to content

Commit

Permalink
Merge branch 'tobz/add-arm-support'
Browse files Browse the repository at this point in the history
  • Loading branch information
tobz committed Oct 18, 2023
2 parents 8ba2515 + f3bbebd commit cf2332e
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 4 deletions.
15 changes: 14 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,18 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased] - ReleaseDate

## [0.12.0] - 2023-10-04

### Added

- Experimental support for ARM. ([#91])

[#91]: https://github.com/metrics-rs/quanta/pull/91

### Changed

- Update `raw-cpuid` to 11.0.

## [0.11.1] - 2023-05-28

### Added
Expand Down Expand Up @@ -218,7 +230,8 @@ description for the finer details. All changes below are part of the aforementi
- Initial commit.

<!-- next-url -->
[Unreleased]: https://github.com/metrics-rs/quanta/compare/v0.11.1...HEAD
[Unreleased]: https://github.com/metrics-rs/quanta/compare/v0.12.0...HEAD
[0.12.0]: https://github.com/metrics-rs/quanta/compare/v0.11.1...v0.12.0
[0.11.1]: https://github.com/metrics-rs/quanta/compare/v0.11.0...v0.11.1
[0.11.0]: https://github.com/metrics-rs/quanta/compare/v0.10.1...v0.11.0
[0.10.1]: https://github.com/metrics-rs/quanta/compare/v0.10.0...v0.10.1
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "quanta"
version = "0.11.1"
version = "0.12.0"
authors = ["Toby Lawrence <[email protected]>"]
edition = "2021"
rust-version = "1.60"
Expand Down
4 changes: 3 additions & 1 deletion src/clocks/monotonic/unix.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#[derive(Clone, Copy, Debug, Default)]
pub struct Monotonic;
pub struct Monotonic {
_default: (),
}

impl Monotonic {
#[allow(clippy::cast_sign_loss)]
Expand Down
4 changes: 3 additions & 1 deletion src/clocks/monotonic/wasm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ const WASM_WRONG_ENV: &str = "failed to find the global `window` object: the `wa
const WASM_MISSING_WINDOW_PERF: &str = "failed to find `window.performance`";

#[derive(Clone, Copy, Debug, Default)]
pub struct Monotonic;
pub struct Monotonic {
_default: (),
}

#[cfg(all(target_arch = "wasm32", target_os = "unknown"))]
impl Monotonic {
Expand Down

0 comments on commit cf2332e

Please sign in to comment.