chore: replaced with macros call to remove warning
This commit is contained in:
parent
f1dd42de9e
commit
49c8334e40
@ -514,7 +514,7 @@ async fn schedule_mcp_start_task<R: Runtime>(
|
|||||||
let mut cmd = Command::new(command.clone());
|
let mut cmd = Command::new(command.clone());
|
||||||
|
|
||||||
let mut is_macos_without_avx2 = false;
|
let mut is_macos_without_avx2 = false;
|
||||||
#[cfg(all(target_os="macos", any(target_arch = "x86", target_arch = "x86_64"))) ]
|
if cfg!(all(target_os="macos", any(target_arch = "x86", target_arch = "x86_64")))
|
||||||
{
|
{
|
||||||
is_macos_without_avx2 = !is_x86_feature_detected!("avx2");
|
is_macos_without_avx2 = !is_x86_feature_detected!("avx2");
|
||||||
if is_macos_without_avx2 {
|
if is_macos_without_avx2 {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user