[workspace]
members = ["regalloc2-tool"]
[package]
name = "regalloc2"
version = "0.10.2"
authors = [
"Chris Fallin <chris@cfallin.org>",
"Mozilla SpiderMonkey Developers",
]
edition = "2018"
license = "Apache-2.0 WITH LLVM-exception"
description = "Backtracking register allocator inspired from IonMonkey"
repository = "https://github.com/bytecodealliance/regalloc2"
[dependencies]
log = { version = "0.4.8", default-features = false }
smallvec = { version = "1.6.1", features = ["union"] }
rustc-hash = { version = "2.0.0", default-features = false }
slice-group-by = { version = "0.3.0", default-features = false }
hashbrown = { version = "0.14", features = ["ahash"], default-features = false }
serde = { version = "1.0.136", features = [
"derive",
"alloc",
], default-features = false, optional = true }
libfuzzer-sys = { version = "0.4.2", optional = true }
[profile.release]
debug = true
debug-assertions = true
overflow-checks = true
[features]
default = ["std"]
std = []
checker = []
trace-log = []
fuzzing = ["libfuzzer-sys", "checker", "trace-log"]
enable-serde = ["serde"]