1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
|
Description: avoid not-in-Debian crate pulley-interpreter
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2025-09-24
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/cranelift/codegen/Cargo.toml
+++ b/cranelift/codegen/Cargo.toml
@@ -30,7 +30,6 @@
log = { workspace = true }
serde = { workspace = true, optional = true }
serde_derive = { workspace = true, optional = true }
-pulley-interpreter = { workspace = true, optional = true }
postcard = { workspace = true, optional = true }
gimli = { workspace = true, features = ["write", "std"], optional = true }
smallvec = { workspace = true }
@@ -82,18 +81,10 @@
arm64 = []
s390x = []
riscv64 = []
-pulley = ["dep:pulley-interpreter", "pulley-interpreter/encode", "pulley-interpreter/disas"]
# Enable the ISA target for the host machine
host-arch = []
-# Option to enable all architectures.
-all-arch = [
- "all-native-arch",
- "pulley",
-]
-
# Option to enable all architectures that correspond to an actual native target
-# (that is, exclude Pulley).
all-native-arch = [
"x86",
"arm64",
--- a/cranelift/codegen/src/isa/mod.rs
+++ b/cranelift/codegen/src/isa/mod.rs
@@ -75,13 +75,6 @@
#[cfg(feature = "s390x")]
mod s390x;
-#[cfg(feature = "pulley")]
-mod pulley32;
-#[cfg(feature = "pulley")]
-mod pulley64;
-#[cfg(feature = "pulley")]
-mod pulley_shared;
-
pub mod unwind;
mod call_conv;
@@ -112,8 +105,6 @@
Architecture::Aarch64 { .. } => isa_builder!(aarch64, (feature = "arm64"), triple),
Architecture::S390x { .. } => isa_builder!(s390x, (feature = "s390x"), triple),
Architecture::Riscv64 { .. } => isa_builder!(riscv64, (feature = "riscv64"), triple),
- Architecture::Pulley32 => isa_builder!(pulley32, (feature = "pulley"), triple),
- Architecture::Pulley64 => isa_builder!(pulley64, (feature = "pulley"), triple),
_ => Err(LookupError::Unsupported),
}
}
|