Skip to content

Commit

Permalink
Use flag -march=native
Browse files Browse the repository at this point in the history
  • Loading branch information
VirxEC committed May 7, 2024
1 parent d9cd4f2 commit 1b68507
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "rocketsim_rs"
description = "Rust bindings for the RocketSim project"
version = "0.27.0"
version = "0.27.1"
edition = "2021"
license = "MIT"
repository = "https://github.com/VirxEC/rocketsim-rs"
Expand Down
2 changes: 1 addition & 1 deletion RocketSim
1 change: 1 addition & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ fn main() -> Result<()> {

builder
.use_plt(false)
.flag_if_supported("-march=native")
.flag_if_supported("-std=c++20")
.flag_if_supported("/std:c++20")
.flag_if_supported("-w")
Expand Down

0 comments on commit 1b68507

Please sign in to comment.