Skip to content

Commit dfc4930

Browse files
committed
Remove "gnu" from "target_env" because it does not matter for android.
1 parent 5029a60 commit dfc4930

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/librustc_back/target/arm_linux_androideabi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pub fn target() -> Target {
2222
data_layout: "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64".to_string(),
2323
arch: "arm".to_string(),
2424
target_os: "android".to_string(),
25-
target_env: "gnu".to_string(),
25+
target_env: "".to_string(),
2626
target_vendor: "unknown".to_string(),
2727
options: base,
2828
}

src/librustc_back/target/armv7_linux_androideabi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ pub fn target() -> Target {
2121
data_layout: "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64".to_string(),
2222
arch: "arm".to_string(),
2323
target_os: "android".to_string(),
24-
target_env: "gnu".to_string(),
24+
target_env: "".to_string(),
2525
target_vendor: "unknown".to_string(),
2626
options: base,
2727
}

src/librustc_back/target/i686_linux_android.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ pub fn target() -> Target {
2222
data_layout: "e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128".to_string(),
2323
arch: "x86".to_string(),
2424
target_os: "android".to_string(),
25-
target_env: "gnu".to_string(),
25+
target_env: "".to_string(),
2626
target_vendor: "unknown".to_string(),
2727
options: base,
2828
}

0 commit comments

Comments
 (0)