Skip to content

Commit

Permalink
Prepare for releasing v0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
unageek committed Feb 20, 2021
1 parent 1b23d3f commit 32a7c40
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[build]
rustflags = ["-Ctarget-cpu=haswell"]
rustdocflags = ["-Ctarget-cpu=haswell"]
rustflags = ["-Ctarget-cpu=native"]
rustdocflags = ["-Ctarget-cpu=native"]
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

The ❗ icon indicates a breaking change.

## v0.9.0 - 2021-02-20

### Changed

- ❗ Explicitly check the target CPU features during compilation. From this version, you need to specify `RUSTFLAGS='-C target-cpu=<CPU>'`, where `<CPU>` must be `haswell` or a newer microarchitecture; otherwise, build fails.

## v0.8.0 - 2020-11-24

### Added
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ A recent version of the nightly toolchain is required, since the [new `asm!` mac

### Target CPU

Haswell or newer microarchitecture is required. You need to specify the target CPU by, for example, the [Cargo configuration file](https://doc.rust-lang.org/cargo/reference/config.html) in your crate (see [example](https://github.com/unageek/inari-graph/blob/master/.cargo/config.toml)).
Haswell or newer microarchitecture is required. You need to specify the target CPU by, for example, the [Cargo configuration file](https://doc.rust-lang.org/cargo/reference/config.html) in your crate (see [example](https://github.com/unageek/inari-graph/blob/master/.cargo/config.toml); you may want to change `native` to `haswell` for maximum compatibility if you are planning to distribute the binary).

## Conditional features

Expand Down

0 comments on commit 32a7c40

Please sign in to comment.