From fe3bbede71244850f7116522b7d1762e8a87eac4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Mei=C3=9Fner?= Date: Tue, 13 Dec 2022 04:46:45 +0100 Subject: [PATCH] Cfg disable JIT code on systems where it is not supported (2) (#29226) Cfg disable JIT code on systems where it is not supported. --- rbpf-cli/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rbpf-cli/src/main.rs b/rbpf-cli/src/main.rs index b4ea8ec80..21572e6da 100644 --- a/rbpf-cli/src/main.rs +++ b/rbpf-cli/src/main.rs @@ -262,6 +262,7 @@ before execting it in the virtual machine.", .map_err(|err| format!("Executable verifier failed: {err:?}")) .unwrap(); + #[cfg(all(not(target_os = "windows"), target_arch = "x86_64"))] verified_executable.jit_compile().unwrap(); let mut analysis = LazyAnalysis::new(verified_executable.get_executable());