Bug 1924959 - Adjust mozglue build script for rustc 1.84. r=firefox-build-system-reviewers,ahochheiden

Differential Revision: https://phabricator.services.mozilla.com/D225762
This commit is contained in:
Mike Hommey 2024-10-17 19:55:10 +00:00
parent 51fb041898
commit 03b63a177f

View File

@ -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.84.0-alpha").unwrap();
let max_oom_hook_version = Version::parse("1.85.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.84.0-alpha").unwrap();
let max_alloc_error_panic_version = Version::parse("1.85.0-alpha").unwrap();
if ver >= Version::parse("1.80.0-alpha").unwrap() {
println!("cargo::rustc-check-cfg=cfg(has_panic_hook_info)");