Commit c3dc5e71 authored by Chris Manchester's avatar Chris Manchester
Browse files

Bug 1554006 - Bump max OOM hook version for the rust update to 1.35. r=froydnj

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

--HG--
extra : moz-landing-system : lando
parent 74a42ff9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.35.0-alpha").unwrap();
    let max_oom_hook_version = Version::parse("1.36.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\"");