Skip to content

Commit 47e68b8

Browse files
committed
servo: Merge #17080 - Update rustc (from jdm:updaterust); r=nox
This brings in rust-lang/rust#39160 which significantly improves the default debugging experience on macOS. Source-Repo: https://github.com/servo/servo Source-Revision: ad4a5411a9620cee5cd93d5fe1a3dbad02cc0812 UltraBlame original commit: 2b4844f7a38ef8973b937690fc041ca63c496c2f
1 parent 5cbd942 commit 47e68b8

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

servo/components/profile/mem.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -505,11 +505,6 @@ mod system_reporter {
505505
None
506506
}
507507

508-
509-
macro_rules! option_try(
510-
($e:expr) => (match $e { Some(e) => e, None => return None })
511-
);
512-
513508
#[cfg(target_os = "linux")]
514509
fn page_size() -> usize {
515510
unsafe {
@@ -522,6 +517,11 @@ mod system_reporter {
522517
use std::fs::File;
523518
use std::io::Read;
524519

520+
521+
macro_rules! option_try(
522+
($e:expr) => (match $e { Some(e) => e, None => return None })
523+
);
524+
525525
let mut f = option_try!(File::open("/proc/self/statm").ok());
526526
let mut contents = String::new();
527527
option_try!(f.read_to_string(&mut contents).ok());

servo/rust-commit-hash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
e17a1227ac779a181b2839998e26a7e4e434c2a0
1+
03bed655142dd5e42ba4539de53b3663d8a123e0

0 commit comments

Comments
 (0)