From 19bd8687ac607c734386baaaf2fe9396f22ea089 Mon Sep 17 00:00:00 2001 From: Chris Fallin Date: Thu, 22 Sep 2022 17:00:06 -0700 Subject: [PATCH] Upgrade to regalloc2 0.4.1. (#4945) * Upgrade to regalloc2 0.4.1. Incorporates bytecodealliance/regalloc2#85, which fixes a fuzzbug related to constraints and liverange splits. * Add audit of regalloc2 upgrade. --- Cargo.lock | 4 ++-- cranelift/codegen/Cargo.toml | 2 +- supply-chain/audits.toml | 6 ++++++ 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c53c263e939f..64d110175951 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2401,9 +2401,9 @@ dependencies = [ [[package]] name = "regalloc2" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91ffba626f895ce5b8b97614bafa3fd59623490fe82f0fa8046dba6664a37b51" +checksum = "69025b4a161879ba90719837c06621c3d73cffa147a000aeacf458f6a9572485" dependencies = [ "fxhash", "log", diff --git a/cranelift/codegen/Cargo.toml b/cranelift/codegen/Cargo.toml index 91cdcbd30732..c5f58f908623 100644 --- a/cranelift/codegen/Cargo.toml +++ b/cranelift/codegen/Cargo.toml @@ -25,7 +25,7 @@ serde = { version = "1.0.94", features = ["derive"], optional = true } bincode = { version = "1.2.1", optional = true } gimli = { version = "0.26.0", default-features = false, features = ["write"], optional = true } smallvec = { version = "1.6.1" } -regalloc2 = { version = "0.4.0", features = ["checker"] } +regalloc2 = { version = "0.4.1", features = ["checker"] } souper-ir = { version = "2.1.0", optional = true } sha2 = { version = "0.9.0", optional = true } # It is a goal of the cranelift-codegen crate to have minimal external dependencies. diff --git a/supply-chain/audits.toml b/supply-chain/audits.toml index 795be0e81efd..668d36305775 100644 --- a/supply-chain/audits.toml +++ b/supply-chain/audits.toml @@ -176,6 +176,12 @@ criteria = "safe-to-deploy" delta = "0.3.2 -> 0.4.0" notes = "The Bytecode Alliance is the author of this crate." +[[audits.regalloc2]] +who = "Chris Fallin " +criteria = "safe-to-deploy" +delta = "0.4.0 -> 0.4.1" +notes = "The Bytecode Alliance is the author of this crate." + [[audits.rustc-demangle]] who = "Alex Crichton " criteria = "safe-to-deploy"