Bug 1563378 - Bump OOM hook version for the rust update to 1.36. r=glandium

Differential Revision: https://phabricator.services.mozilla.com/D37342

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Chris Manchester 2019-07-09 05:15:44 +00:00
parent ee5a41d9ad
commit fe54573f0d

View File

@ -5,7 +5,7 @@ use rustc_version::{version, Version};
fn main() {
let ver = version().unwrap();
let mut bootstrap = false;
let max_oom_hook_version = Version::parse("1.36.0-alpha").unwrap();
let max_oom_hook_version = Version::parse("1.37.0-alpha").unwrap();
if ver >= Version::parse("1.28.0-alpha").unwrap() && ver < max_oom_hook_version {
println!("cargo:rustc-cfg=feature=\"oom_with_hook\"");