From 1b68507540bea545e45cefa2ea6578bd20257773 Mon Sep 17 00:00:00 2001 From: VirxEC Date: Tue, 7 May 2024 18:25:33 -0400 Subject: [PATCH] Use flag `-march=native` --- Cargo.toml | 2 +- RocketSim | 2 +- build.rs | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 65cd84c..471bad6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/RocketSim b/RocketSim index 884fde6..3c0e321 160000 --- a/RocketSim +++ b/RocketSim @@ -1 +1 @@ -Subproject commit 884fde60a6a2a506fc2bfe0a5b54c00fada5308b +Subproject commit 3c0e321b5f8fedb73ec3aec782173ea2f25ed274 diff --git a/build.rs b/build.rs index 031fa86..69229d9 100644 --- a/build.rs +++ b/build.rs @@ -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")