зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1901890 - Adjust mozglue build script for rustc 1.81. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D213342
This commit is contained in:
Родитель
92e08f0a38
Коммит
02d1951025
|
@ -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.81.0-alpha").unwrap();
|
||||
let max_oom_hook_version = Version::parse("1.82.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.81.0-alpha").unwrap();
|
||||
let max_alloc_error_panic_version = Version::parse("1.82.0-alpha").unwrap();
|
||||
|
||||
if ver >= Version::parse("1.80.0-alpha").unwrap() {
|
||||
println!("cargo::rustc-check-cfg=cfg(oom_with, values(\"hook\", \"alloc_error_panic\"))");
|
||||
|
|
Загрузка…
Ссылка в новой задаче