diff --git a/crates/jit/Cargo.toml b/crates/jit/Cargo.toml index da683d794c78..74ae56c0aeb5 100644 --- a/crates/jit/Cargo.toml +++ b/crates/jit/Cargo.toml @@ -22,7 +22,6 @@ gimli = { version = "0.26.0", default-features = false, features = ["std", "read object = { version = "0.29.0", default-features = false, features = ["std", "read_core", "elf"] } serde = { version = "1.0.94", features = ["derive"] } addr2line = { version = "0.17.0", default-features = false } -ittapi = { version = "0.3.0", optional = true } bincode = "1.2.1" rustc-demangle = "0.1.16" cpp_demangle = "0.3.2" @@ -37,6 +36,9 @@ features = [ [target.'cfg(target_os = "linux")'.dependencies] rustix = { version = "0.35.6", features = ["process"] } +[target.'cfg(target_arch = "x86_64")'.dependencies] +ittapi = { version = "0.3.0", optional = true } + [features] jitdump = ['wasmtime-jit-debug'] vtune = ['ittapi']