Update regalloc2 to v0.4.2 (#5169)

This commit is contained in:
Nick Fitzgerald
2022-11-01 11:18:19 -07:00
committed by GitHub
parent 0c53941364
commit 3c496d8cdc
4 changed files with 19 additions and 13 deletions

4
Cargo.lock generated
View File

@@ -2405,9 +2405,9 @@ dependencies = [
[[package]] [[package]]
name = "regalloc2" name = "regalloc2"
version = "0.4.1" version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "69025b4a161879ba90719837c06621c3d73cffa147a000aeacf458f6a9572485" checksum = "91b2eab54204ea0117fe9a060537e0b07a4e72f7c7d182361ecc346cab2240e5"
dependencies = [ dependencies = [
"fxhash", "fxhash",
"log", "log",

View File

@@ -26,7 +26,7 @@ serde = { version = "1.0.94", features = ["derive"], optional = true }
bincode = { version = "1.2.1", optional = true } bincode = { version = "1.2.1", optional = true }
gimli = { workspace = true, features = ["write"], optional = true } gimli = { workspace = true, features = ["write"], optional = true }
smallvec = { workspace = true } smallvec = { workspace = true }
regalloc2 = { version = "0.4.1", features = ["checker"] } regalloc2 = { version = "0.4.2", features = ["checker"] }
souper-ir = { version = "2.1.0", optional = true } souper-ir = { version = "2.1.0", optional = true }
sha2 = { version = "0.10.2", optional = true } sha2 = { version = "0.10.2", optional = true }
# It is a goal of the cranelift-codegen crate to have minimal external dependencies. # It is a goal of the cranelift-codegen crate to have minimal external dependencies.

View File

@@ -241,6 +241,15 @@ Contains unsafe blocks but are encapsulated and required for the operation at
hand. hand.
""" """
[[audits.memory_units]]
who = "Alex Crichton <alex@alexcrichton.com>"
criteria = "safe-to-run"
delta = "0.3.0 -> 0.4.0"
notes = """
This bump only changed from a function to an associated `const` and trivially
contains no significant changes.
"""
[[audits.openvino]] [[audits.openvino]]
who = "Matthew Tamayo-Rios <matthew@geekbeast.com>" who = "Matthew Tamayo-Rios <matthew@geekbeast.com>"
criteria = "safe-to-deploy" criteria = "safe-to-deploy"
@@ -265,15 +274,6 @@ notes = """
Only updates to tests to use new rust functions for mut pointers. Only updates to tests to use new rust functions for mut pointers.
""" """
[[audits.memory_units]]
who = "Alex Crichton <alex@alexcrichton.com>"
criteria = "safe-to-run"
delta = "0.3.0 -> 0.4.0"
notes = """
This bump only changed from a function to an associated `const` and trivially
contains no significant changes.
"""
[[audits.peeking_take_while]] [[audits.peeking_take_while]]
who = "Nick Fitzgerald <fitzgen@gmail.com>" who = "Nick Fitzgerald <fitzgen@gmail.com>"
criteria = "safe-to-deploy" criteria = "safe-to-deploy"
@@ -298,6 +298,12 @@ criteria = "safe-to-deploy"
delta = "0.4.0 -> 0.4.1" delta = "0.4.0 -> 0.4.1"
notes = "The Bytecode Alliance is the author of this crate." notes = "The Bytecode Alliance is the author of this crate."
[[audits.regalloc2]]
who = "Nick Fitzgerald <fitzgen@gmail.com>"
criteria = "safe-to-deploy"
delta = "0.4.1 -> 0.4.2"
notes = "The Bytecode Alliance is the author of this crate."
[[audits.rustc-demangle]] [[audits.rustc-demangle]]
who = "Alex Crichton <alex@alexcrichton.com>" who = "Alex Crichton <alex@alexcrichton.com>"
criteria = "safe-to-deploy" criteria = "safe-to-deploy"

View File

@@ -16,7 +16,7 @@ target-lexicon = { workspace = true, features = ["std"] }
# In the next iteration we'll factor out the common bits so that they can be consumed # In the next iteration we'll factor out the common bits so that they can be consumed
# by Cranelift and Winch. # by Cranelift and Winch.
cranelift-codegen = { workspace = true } cranelift-codegen = { workspace = true }
regalloc2 = "0.4.1" regalloc2 = "0.4.2"
[features] [features]
x64 = ["cranelift-codegen/x86"] x64 = ["cranelift-codegen/x86"]