Cfg disable JIT code on systems where it is not supported (2) (#29226)

Cfg disable JIT code on systems where it is not supported.
This commit is contained in:
Alexander Meißner 2022-12-13 04:46:45 +01:00 committed by GitHub
parent c3001abef7
commit fe3bbede71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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());