Skip to content

Commit abfedb7

Browse files
committed
Fix target_vendor for Android
1 parent af68cdf commit abfedb7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/librustc_back/target/aarch64_linux_android.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pub fn target() -> Target {
1818
arch: "aarch64".to_string(),
1919
target_os: "android".to_string(),
2020
target_env: "".to_string(),
21-
target_vendor: "linux".to_string(),
21+
target_vendor: "unknown".to_string(),
2222
options: super::android_base::opts(),
2323
}
2424
}

src/librustc_back/target/arm_linux_androideabi.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pub fn target() -> Target {
2121
arch: "arm".to_string(),
2222
target_os: "android".to_string(),
2323
target_env: "gnu".to_string(),
24-
target_vendor: "linux".to_string(),
24+
target_vendor: "unknown".to_string(),
2525
options: base,
2626
}
2727
}

src/librustc_back/target/i686_linux_android.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pub fn target() -> Target {
2121
arch: "x86".to_string(),
2222
target_os: "android".to_string(),
2323
target_env: "gnu".to_string(),
24-
target_vendor: "linux".to_string(),
24+
target_vendor: "unknown".to_string(),
2525
options: base,
2626
}
2727
}

0 commit comments

Comments
 (0)