From 1c878b364ef864a54f5f28aeb1adbd5610d04401 Mon Sep 17 00:00:00 2001 From: Alex Touchet Date: Thu, 27 Oct 2022 20:42:36 -0700 Subject: [PATCH] Change "OSX" to "macOS" --- src/symbolize/gimli/macho.rs | 4 ++-- tests/skip_inner_frames.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/symbolize/gimli/macho.rs b/src/symbolize/gimli/macho.rs index 989cd205..adea97a0 100644 --- a/src/symbolize/gimli/macho.rs +++ b/src/symbolize/gimli/macho.rs @@ -13,8 +13,8 @@ type MachSection = ::Section; type MachNlist = ::Nlist; impl Mapping { - // The loading path for OSX is so different we just have a completely - // different implementation of the function here. On OSX we need to go + // The loading path for macOS is so different we just have a completely + // different implementation of the function here. On macOS we need to go // probing the filesystem for a bunch of files. pub fn new(path: &Path) -> Option { // First up we need to load the unique UUID which is stored in the macho diff --git a/tests/skip_inner_frames.rs b/tests/skip_inner_frames.rs index 8b57bef5..60bba35e 100644 --- a/tests/skip_inner_frames.rs +++ b/tests/skip_inner_frames.rs @@ -4,7 +4,7 @@ use backtrace::Backtrace; // function for frames which reports the starting address of a symbol. As a // result it's only enabled on a few platforms. const ENABLED: bool = cfg!(all( - // Windows hasn't really been tested, and OSX doesn't support actually + // Windows hasn't really been tested, and macOS doesn't support actually // finding an enclosing frame, so disable this target_os = "linux", // On ARM finding the enclosing function is simply returning the ip itself.