* Put TargetIsa's emit_inst under a "testing_hooks" feature. In practice, TargetIsa's emit_inst pulls in its own instantiation of the target-specifi `emit_inst` functions, which can be quite large, and LTO doesn't eliminate them because they're held live by TargetIsa's vtable. Fortunately, this function is only used by tests, so we can put it behind a feature flag. Fixes #530. * Add comments for `emit_inst` to clarify its purpose.
18 lines
637 B
TOML
18 lines
637 B
TOML
[package]
|
|
name = "cranelift-filetests"
|
|
authors = ["The Cranelift Project Developers"]
|
|
version = "0.22.0"
|
|
description = "Test driver and implementations of the filetest commands"
|
|
license = "Apache-2.0 WITH LLVM-exception"
|
|
documentation = "https://cranelift.readthedocs.io/en/latest/testing.html#file-tests"
|
|
repository = "https://github.com/CraneStation/cranelift"
|
|
publish = false
|
|
|
|
[dependencies]
|
|
cranelift-codegen = { path = "../codegen", version = "0.22.0", features = ["testing_hooks"] }
|
|
cranelift-reader = { path = "../reader", version = "0.22.0" }
|
|
file-per-thread-logger = "0.1.1"
|
|
filecheck = "0.4.0"
|
|
num_cpus = "1.8.0"
|
|
log = "0.4.4"
|