mach backend: allow snapshotting IR graphs with the SNAPSHOT_REGALLOC env variable;

This also requires the serde feature, which isn't enabled by default,
thus it must be passed as a command-line argument to cargo.
This commit is contained in:
Benjamin Bouvier
2020-06-08 17:17:11 +02:00
parent 46093f6119
commit 5d01603390
3 changed files with 20 additions and 0 deletions

2
Cargo.lock generated
View File

@@ -368,6 +368,7 @@ dependencies = [
name = "cranelift-codegen"
version = "0.64.0"
dependencies = [
"bincode",
"byteorder",
"cranelift-bforest",
"cranelift-codegen-meta",
@@ -1669,6 +1670,7 @@ checksum = "7c03092d79e0fd610932d89ed53895a38c0dd3bcd317a0046e69940de32f1d95"
dependencies = [
"log",
"rustc-hash",
"serde",
"smallvec",
]