Files
termux-packages/packages/wasmtime/crates-jit-src-profiling.rs.patch
termux-pacman-bot 4534f39b99 bump(main/wasmtime): 12.0.1 (#17798)
* Add custom auto update
* Enable x86_64-linux-android build for wasmtime
2023-09-11 02:07:26 +00:00

14 lines
756 B
Diff

diff --git a/crates/jit/src/profiling.rs b/crates/jit/src/profiling.rs
index d816d65..fa1f319 100644
--- a/crates/jit/src/profiling.rs
+++ b/crates/jit/src/profiling.rs
@@ -33,7 +33,7 @@ cfg_if::cfg_if! {
cfg_if::cfg_if! {
// Note: VTune support is disabled on windows mingw because the ittapi crate doesn't compile
// there; see also https://github.com/bytecodealliance/wasmtime/pull/4003 for rationale.
- if #[cfg(all(feature = "vtune", target_arch = "x86_64", not(all(target_os = "windows", target_env = "gnu"))))] {
+ if #[cfg(all(feature = "vtune", target_arch = "x86_64", not(all(any(target_os = "android", target_os = "windows", target_env = "gnu")))))] {
mod vtune;
pub use vtune::new as new_vtune;
} else {