diff options
| author | Mads Marquart <mads@marquart.dk> | 2024-08-19 15:20:02 +0200 |
|---|---|---|
| committer | Mads Marquart <mads@marquart.dk> | 2025-03-25 21:53:52 +0100 |
| commit | 328846c6eb650580f93addb687a8f5fd863bd892 (patch) | |
| tree | d6d25e0dc0d45a940cd714c6a0aadf42baeaa664 /compiler/rustc_codegen_gcc | |
| parent | 7d49ae9731555937177d01e9fa39dbf22eb60399 (diff) | |
| download | rust-328846c6eb650580f93addb687a8f5fd863bd892.tar.gz rust-328846c6eb650580f93addb687a8f5fd863bd892.zip | |
Rename `is_like_osx` to `is_like_darwin`
Diffstat (limited to 'compiler/rustc_codegen_gcc')
| -rw-r--r-- | compiler/rustc_codegen_gcc/src/consts.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_gcc/src/consts.rs b/compiler/rustc_codegen_gcc/src/consts.rs index c514b7a428b..0dc0a918298 100644 --- a/compiler/rustc_codegen_gcc/src/consts.rs +++ b/compiler/rustc_codegen_gcc/src/consts.rs @@ -131,7 +131,7 @@ impl<'gcc, 'tcx> StaticCodegenMethods for CodegenCx<'gcc, 'tcx> { // will use load-unaligned instructions instead, and thus avoiding the crash. // // We could remove this hack whenever we decide to drop macOS 10.10 support. - if self.tcx.sess.target.options.is_like_osx { + if self.tcx.sess.target.options.is_like_darwin { // The `inspect` method is okay here because we checked for provenance, and // because we are doing this access to inspect the final interpreter state // (not as part of the interpreter execution). |
