diff options
| author | Vladimir Michael Eatwell <dimir@fb.com> | 2022-03-23 14:54:58 +0000 |
|---|---|---|
| committer | Vladimir Michael Eatwell <dimir@fb.com> | 2022-06-13 16:08:53 +0100 |
| commit | dc5c61028ab9e0a1985ccc913fcab88b5f50efb6 (patch) | |
| tree | 05fd841ede807eb516607988f0e449206fb07c29 /compiler/rustc_codegen_llvm | |
| parent | c84594661c1b51feb539b479b58bb551fcf8e19a (diff) | |
| download | rust-dc5c61028ab9e0a1985ccc913fcab88b5f50efb6.tar.gz rust-dc5c61028ab9e0a1985ccc913fcab88b5f50efb6.zip | |
Add Apple WatchOS compile targets
Diffstat (limited to 'compiler/rustc_codegen_llvm')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/back/write.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/back/write.rs b/compiler/rustc_codegen_llvm/src/back/write.rs index 50f8949c897..c55a22ff23f 100644 --- a/compiler/rustc_codegen_llvm/src/back/write.rs +++ b/compiler/rustc_codegen_llvm/src/back/write.rs @@ -1036,7 +1036,8 @@ unsafe fn embed_bitcode( // reason (see issue #90326 for historical background). let is_apple = cgcx.opts.target_triple.triple().contains("-ios") || cgcx.opts.target_triple.triple().contains("-darwin") - || cgcx.opts.target_triple.triple().contains("-tvos"); + || cgcx.opts.target_triple.triple().contains("-tvos") + || cgcx.opts.target_triple.triple().contains("-watchos"); if is_apple || cgcx.opts.target_triple.triple().starts_with("wasm") || cgcx.opts.target_triple.triple().starts_with("asmjs") |
