From df88c118673c430fadefd98f7a29f436e63f14a2 Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Sun, 12 May 2024 18:57:24 +0200 Subject: [PATCH] Use the target cpu from the target spec on x86_64 when -Ctarget-cpu isn't used Fixes rust-lang/rustc_codegen_cranelift#1148 --- src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index e72951b6f34..39bbad16b0c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -331,9 +331,9 @@ fn build_isa(sess: &Session, backend_config: &BackendConfig) -> Arc