about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/back/write.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-04-06 06:11:48 +0000
committerbors <bors@rust-lang.org>2024-04-06 06:11:48 +0000
commitbfaf6b07ee9a4b778a807d648b1135d3b2d9e226 (patch)
tree41ab087778d18c37e7457fade25d5762d3a8302d /compiler/rustc_codegen_llvm/src/back/write.rs
parent81cab971c863fd6e084a1de50170e6242afcc9ed (diff)
parente999fe80e7f56705736f7ee5b648e51748f40740 (diff)
downloadrust-bfaf6b07ee9a4b778a807d648b1135d3b2d9e226.tar.gz
rust-bfaf6b07ee9a4b778a807d648b1135d3b2d9e226.zip
Auto merge of #3453 - RalfJung:rustup, r=RalfJung
Rustup
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/back/write.rs')
-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 4efea66a7f1..68ba8cbf7b7 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 {