about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm
diff options
context:
space:
mode:
authorAdam Gastineau <adam@agg.im>2024-03-18 20:45:45 -0700
committerAdam Gastineau <adam@agg.im>2024-03-18 20:45:45 -0700
commit4f6f433745077c9a0179d582ffa3851baf4d5c5f (patch)
tree0dae2f3a575762b24bb381a75f5150e22077d75c /compiler/rustc_codegen_llvm
parent21d94a3d2c63cacf8eaf9d0ca770c0b450c558d4 (diff)
downloadrust-4f6f433745077c9a0179d582ffa3851baf4d5c5f.tar.gz
rust-4f6f433745077c9a0179d582ffa3851baf4d5c5f.zip
Support for visionOS
Diffstat (limited to 'compiler/rustc_codegen_llvm')
-rw-r--r--compiler/rustc_codegen_llvm/src/back/write.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/back/write.rs b/compiler/rustc_codegen_llvm/src/back/write.rs
index 031bbd63361..2357e98f1b1 100644
--- a/compiler/rustc_codegen_llvm/src/back/write.rs
+++ b/compiler/rustc_codegen_llvm/src/back/write.rs
@@ -912,6 +912,7 @@ fn target_is_apple(cgcx: &CodegenContext<LlvmCodegenBackend>) -> bool {
         || cgcx.opts.target_triple.triple().contains("-darwin")
         || cgcx.opts.target_triple.triple().contains("-tvos")
         || cgcx.opts.target_triple.triple().contains("-watchos")
+        || cgcx.opts.target_triple.triple().contains("-visionos")
 }
 
 fn target_is_aix(cgcx: &CodegenContext<LlvmCodegenBackend>) -> bool {