Skip to content

Commit 5743d38

Browse files
committed
Rename is_like_osx to is_like_darwin
1 parent b25a593 commit 5743d38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/consts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ impl<'gcc, 'tcx> StaticCodegenMethods for CodegenCx<'gcc, 'tcx> {
131131
// will use load-unaligned instructions instead, and thus avoiding the crash.
132132
//
133133
// We could remove this hack whenever we decide to drop macOS 10.10 support.
134-
if self.tcx.sess.target.options.is_like_osx {
134+
if self.tcx.sess.target.options.is_like_darwin {
135135
// The `inspect` method is okay here because we checked for provenance, and
136136
// because we are doing this access to inspect the final interpreter state
137137
// (not as part of the interpreter execution).

0 commit comments

Comments
 (0)