Closed Bug 1505921 Opened 6 years ago Closed 6 years ago

update rust version check for oom hooking

Categories

(Firefox Build System :: General, enhancement)

enhancement
Not set
normal

Tracking

(firefox65 fixed)

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: froydnj, Assigned: froydnj)

References

Details

Attachments

(1 file, 2 obsolete files)

Rust 1.30 is out, which means nightly is 1.32.
update rust version check for oom hooking
Attachment #9023761 - Flags: review?(cmanchester)
Blocks: 1503366
Comment on attachment 9023761 [details] [diff] [review] aar# Attachment to Bug 1505921 - update rust version check for oom hooking Review of attachment 9023761 [details] [diff] [review]: ----------------------------------------------------------------- This looks fine to me, but I've been trusting glandium to catch any subtleties about this situation.
Attachment #9023761 - Flags: review?(cmanchester) → review?(mh+mozilla)
Rust 1.30 is out, which means nightly is 1.32.
Attachment #9023830 - Flags: review?(mh+mozilla)
Attachment #9023761 - Attachment is obsolete: true
Attachment #9023761 - Flags: review?(mh+mozilla)
Comment on attachment 9023830 [details] [diff] [review] update rust version check for oom hooking Review of attachment 9023830 [details] [diff] [review]: ----------------------------------------------------------------- ::: toolkit/library/rust/shared/build.rs @@ +16,1 @@ > // For the sake of the base-toolchains build we allow building with 1.27, but Since we're way past the point where base-toolchains are using 1.27, you can actually remove this comment as well as the version check for this branch.
Attachment #9023830 - Flags: review?(mh+mozilla)
Comment and version check removed; extra debugging left in.
Attachment #9023965 - Flags: review?(mh+mozilla)
Attachment #9023830 - Attachment is obsolete: true
Comment on attachment 9023965 [details] [diff] [review] update rust version check for oom hooking Review of attachment 9023965 [details] [diff] [review]: ----------------------------------------------------------------- ::: toolkit/library/rust/shared/build.rs @@ +13,4 @@ > println!("cargo:rustc-cfg=feature=\"oom_with_hook\""); > bootstrap = true; > + } else if std::env::var("MOZ_AUTOMATION").is_ok() { > + panic!("Builds on automation must use a version of rust that supports OOM hooking, have {:?}", ver); While here, let's make the message clearer. Something like "Builds on automation must use a version of rust for which we know how to hook OOM (< 1.33) ; have {:?}"
Attachment #9023965 - Flags: review?(mh+mozilla) → review+
Pushed by nfroyd@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/84395a8e555f update rust version check for oom hooking; r=chmanchester,glandium
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: