We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74c4821 commit 4304c22Copy full SHA for 4304c22
compiler/rustc_codegen_ssa/src/back/metadata.rs
@@ -101,7 +101,7 @@ pub(crate) fn create_object_file(sess: &Session) -> Option<write::Object<'static
101
let architecture = match &sess.target.arch[..] {
102
"arm" => Architecture::Arm,
103
"aarch64" => {
104
- if sess.target.pointer_width == 32 {
+ if sess.target.pointer_width == 32 && sess.target.os != "watchos" {
105
Architecture::Aarch64_Ilp32
106
} else {
107
Architecture::Aarch64
0 commit comments