From 68f64cabc8b0d2dd8ffc107cee016eaa1c6c713f Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Thu, 15 May 2025 22:49:29 +0000 Subject: [PATCH] Bug 1966562 - Adjust mozglue build script for up to rustc 1.89. r=firefox-build-system-reviewers,ahochheiden Differential Revision: https://phabricator.services.mozilla.com/D249510 --- mozglue/static/rust/build.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozglue/static/rust/build.rs b/mozglue/static/rust/build.rs index f391986eb03b..6a12ffbb1f32 100644 --- a/mozglue/static/rust/build.rs +++ b/mozglue/static/rust/build.rs @@ -16,10 +16,10 @@ fn main() { println!("cargo:rerun-if-changed=wrappers.cpp"); let ver = version().unwrap(); - let max_oom_hook_version = Version::parse("1.89.0-alpha").unwrap(); + let max_oom_hook_version = Version::parse("1.90.0-alpha").unwrap(); // The new alloc error panic feature was temporarily reverted. We kept the // code in tree, but the version here is such that it's effectively never used. - let max_alloc_error_panic_version = Version::parse("1.89.0-alpha").unwrap(); + let max_alloc_error_panic_version = Version::parse("1.90.0-alpha").unwrap(); println!("cargo::rustc-check-cfg=cfg(has_panic_hook_info)"); println!("cargo::rustc-check-cfg=cfg(oom_with, values(\"hook\", \"alloc_error_panic\"))");