40 lines
1.0 KiB
TOML
40 lines
1.0 KiB
TOML
[package]
|
|
name = "regalloc2"
|
|
version = "0.1.0"
|
|
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 = "1.6.1"
|
|
fxhash = "0.2.1"
|
|
slice-group-by = "0.3.0"
|
|
|
|
# The below are only needed for fuzzing.
|
|
# Keep this in sync with libfuzzer_sys's crate version:
|
|
arbitrary = { version = "^0.4.6", optional = true }
|
|
|
|
# When testing regalloc2 by itself, enable debug assertions and overflow checks
|
|
[profile.release]
|
|
debug = true
|
|
debug-assertions = true
|
|
overflow-checks = true
|
|
|
|
[features]
|
|
default = []
|
|
|
|
# Enables generation of DefAlloc edits for the checker.
|
|
checker = []
|
|
|
|
# Enables detailed logging which can be somewhat expensive.
|
|
trace-log = []
|
|
|
|
# Exposes the internal API for fuzzing.
|
|
fuzzing = ["arbitrary", "checker", "trace-log"]
|