about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/src/debuginfo
diff options
context:
space:
mode:
authorMads Marquart <mads@marquart.dk>2024-08-19 15:20:02 +0200
committerMads Marquart <mads@marquart.dk>2025-03-25 21:53:52 +0100
commit328846c6eb650580f93addb687a8f5fd863bd892 (patch)
treed6d25e0dc0d45a940cd714c6a0aadf42baeaa664 /compiler/rustc_codegen_cranelift/src/debuginfo
parent7d49ae9731555937177d01e9fa39dbf22eb60399 (diff)
Rename `is_like_osx` to `is_like_darwin`
Diffstat (limited to 'compiler/rustc_codegen_cranelift/src/debuginfo')
-rw-r--r--compiler/rustc_codegen_cranelift/src/debuginfo/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/debuginfo/mod.rs b/compiler/rustc_codegen_cranelift/src/debuginfo/mod.rs
index bba6567774d..286e02b986b 100644
--- a/compiler/rustc_codegen_cranelift/src/debuginfo/mod.rs
+++ b/compiler/rustc_codegen_cranelift/src/debuginfo/mod.rs
@@ -58,7 +58,7 @@ impl DebugContext {
             // FIXME this should be configurable
             // macOS doesn't seem to support DWARF > 3
             // 5 version is required for md5 file hash
-            version: if tcx.sess.target.is_like_osx {
+            version: if tcx.sess.target.is_like_darwin {
                 3
             } else {
                 // FIXME change to version 5 once the gdb and lldb shipping with the latest debian