|
|
|
@ -24,10 +24,10 @@ targets, as things break when this is done:
|
|
|
|
|
4 files changed, 12 insertions(+), 3 deletions(-)
|
|
|
|
|
|
|
|
|
|
diff --git a/compiler/rustc_session/src/config.rs b/compiler/rustc_session/src/config.rs
|
|
|
|
|
index fdedb7e6a4af..c12568e77d83 100644
|
|
|
|
|
index ab3c122053c5..b2f24480e43a 100644
|
|
|
|
|
--- a/compiler/rustc_session/src/config.rs
|
|
|
|
|
+++ b/compiler/rustc_session/src/config.rs
|
|
|
|
|
@@ -1512,7 +1512,7 @@ pub fn parse_target_triple(
|
|
|
|
|
@@ -1552,7 +1552,7 @@ pub fn parse_target_triple(
|
|
|
|
|
early_error(error_format, &format!("target file {:?} does not exist", path))
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
@ -50,10 +50,10 @@ index 165505ee7313..00a7f5c2f8c1 100644
|
|
|
|
|
data_layout: "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
|
|
|
|
|
f64:32:64-f80:32-n8:16:32-S128"
|
|
|
|
|
diff --git a/compiler/rustc_target/src/spec/mod.rs b/compiler/rustc_target/src/spec/mod.rs
|
|
|
|
|
index 273221360b8b..4bbfad8441f3 100644
|
|
|
|
|
index 0d49c7f6ee8b..d702aa9a746b 100644
|
|
|
|
|
--- a/compiler/rustc_target/src/spec/mod.rs
|
|
|
|
|
+++ b/compiler/rustc_target/src/spec/mod.rs
|
|
|
|
|
@@ -2296,6 +2296,15 @@ pub fn from_path(path: &Path) -> Result<Self, io::Error> {
|
|
|
|
|
@@ -2380,6 +2380,15 @@ pub fn from_path(path: &Path) -> Result<Self, io::Error> {
|
|
|
|
|
Ok(TargetTriple::TargetPath(canonicalized_path))
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -70,11 +70,11 @@ index 273221360b8b..4bbfad8441f3 100644
|
|
|
|
|
///
|
|
|
|
|
/// If this target is a path, the file name (without extension) is returned.
|
|
|
|
|
diff --git a/compiler/rustc_target/src/spec/x86_64_unknown_linux_gnu.rs b/compiler/rustc_target/src/spec/x86_64_unknown_linux_gnu.rs
|
|
|
|
|
index 085079e06e57..2dfa6a040b10 100644
|
|
|
|
|
index c2484f2d8f66..bfda13509939 100644
|
|
|
|
|
--- a/compiler/rustc_target/src/spec/x86_64_unknown_linux_gnu.rs
|
|
|
|
|
+++ b/compiler/rustc_target/src/spec/x86_64_unknown_linux_gnu.rs
|
|
|
|
|
@@ -11,7 +11,7 @@ pub fn target() -> Target {
|
|
|
|
|
SanitizerSet::ADDRESS | SanitizerSet::LEAK | SanitizerSet::MEMORY | SanitizerSet::THREAD;
|
|
|
|
|
@@ -14,7 +14,7 @@ pub fn target() -> Target {
|
|
|
|
|
| SanitizerSet::THREAD;
|
|
|
|
|
|
|
|
|
|
Target {
|
|
|
|
|
- llvm_target: "x86_64-unknown-linux-gnu".to_string(),
|
|
|
|
|