From 36c7d1ac446475e0a5db57677506b0c2f0a3b4b1 Mon Sep 17 00:00:00 2001 From: Mingzhuo Yin Date: Thu, 7 Mar 2024 16:44:25 +0800 Subject: [PATCH] Update target.rs --- multiversion-macros/src/target.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multiversion-macros/src/target.rs b/multiversion-macros/src/target.rs index 154eb65..8d3eaf0 100644 --- a/multiversion-macros/src/target.rs +++ b/multiversion-macros/src/target.rs @@ -134,7 +134,7 @@ impl Target { } ); quote! { - true #( && std::#is_feature_detected!(#feature) )* + true #( && std::arch::#is_feature_detected!(#feature) )* } } }