Skip to content

Commit

Permalink
fix: mac builds and new release 1.2.1 (#62)
Browse files Browse the repository at this point in the history
* up version

* fix mac builds
  • Loading branch information
SWvheerden committed Aug 30, 2023
1 parent 646c615 commit 86ef42f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,16 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [1.2.1](https://github.com/tari-project/randomx-rs/compare/v1.1.15...v1.2.1) (2023-08-30)

### Bug Fixes

* fix compile on windows ([#61](https://github.com/tari-project/randomx-rs/issues/61)) ([646c615](https://github.com/tari-project/randomx-rs/commit/646c6150a01659417a2cacd9f1db0a7e492bdf1d))

## [1.2.0](https://github.com/tari-project/randomx-rs/compare/v1.1.15...v1.2.0) (2023-08-22)
### Feature

Update random-x core library to commit hash (901f8ef765e7c274852dcb4d477247fd6747a5b8)
* update randomx ([#60](https://github.com/tari-project/randomx-rs/issues/60)) ([5300721](https://github.com/tari-project/randomx-rs/commit/530072139e09a86b7247831f66b6ac6991c729e6))

### [1.1.15](https://github.com/tari-project/randomx-rs/compare/v1.1.14...v1.1.15) (2023-05-19)

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ repository = "https://github.com/tari-project/randomx-rs"
homepage = "https://tari.com"
readme = "README.md"
license = "BSD-3-Clause"
version = "1.2.0"
version = "1.2.1"
edition = "2018"
build = "build.rs"

Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ impl RandomXDataset {
// This weirdness brought to you by c_ulong being different on Windows and Linux
#[cfg(target_os = "windows")]
return Ok(x);
#[cfg(target_os = "linux")]
#[cfg(not(target_os = "windows"))]
return Ok(u32::try_from(x)?);
},
}
Expand Down

0 comments on commit 86ef42f

Please sign in to comment.