-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
70 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ Signed-off-by: Ruben De Smet <[email protected]> | |
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/config.example.toml b/config.example.toml | ||
index 0c65b25fe13..43beaed6e7b 100644 | ||
index 5c4bee87553..63946e46122 100644 | ||
--- a/config.example.toml | ||
+++ b/config.example.toml | ||
@@ -88,7 +88,7 @@ changelog-seen = 2 | ||
|
@@ -22,3 +22,6 @@ index 0c65b25fe13..43beaed6e7b 100644 | |
|
||
# LLVM experimental targets to build support for. These targets are specified in | ||
# the same format as above, but since these targets are experimental, they are | ||
-- | ||
2.42.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,10 +20,10 @@ Signed-off-by: Ruben De Smet <[email protected]> | |
1 file changed, 2 insertions(+), 30 deletions(-) | ||
|
||
diff --git a/library/std/src/sys/unix/fs.rs b/library/std/src/sys/unix/fs.rs | ||
index fbc7f04ce9a..bf49ad70590 100644 | ||
index a5604c92a80..8438d7dcc30 100644 | ||
--- a/library/std/src/sys/unix/fs.rs | ||
+++ b/library/std/src/sys/unix/fs.rs | ||
@@ -28,28 +28,11 @@ | ||
@@ -17,28 +17,11 @@ | ||
use crate::sys::{cvt, cvt_r}; | ||
use crate::sys_common::{AsInner, AsInnerMut, FromInner, IntoInner}; | ||
|
||
|
@@ -52,7 +52,7 @@ index fbc7f04ce9a..bf49ad70590 100644 | |
#[cfg(any(target_os = "linux", target_os = "emscripten", target_os = "android"))] | ||
use libc::dirfd; | ||
#[cfg(any(target_os = "linux", target_os = "emscripten"))] | ||
@@ -109,20 +92,9 @@ | ||
@@ -98,20 +81,9 @@ | ||
// https://github.com/rust-lang/rust/pull/67774 | ||
macro_rules! cfg_has_statx { | ||
({ $($then_tt:tt)* } else { $($else_tt:tt)* }) => { | ||
|
@@ -75,3 +75,6 @@ index fbc7f04ce9a..bf49ad70590 100644 | |
} | ||
|
||
cfg_has_statx! {{ | ||
-- | ||
2.42.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,10 +15,10 @@ Signed-off-by: Ruben De Smet <[email protected]> | |
1 file changed, 8 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/compiler/rustc_session/src/config.rs b/compiler/rustc_session/src/config.rs | ||
index f97cb3440d2..9b96d0d2e57 100644 | ||
index f00472f181d..a2b9fbf82db 100644 | ||
--- a/compiler/rustc_session/src/config.rs | ||
+++ b/compiler/rustc_session/src/config.rs | ||
@@ -2170,7 +2170,14 @@ pub fn parse_target_triple( | ||
@@ -2226,7 +2226,14 @@ pub fn parse_target_triple( | ||
}) | ||
} | ||
Some(target) => TargetTriple::TargetTriple(target), | ||
|
@@ -34,3 +34,6 @@ index f97cb3440d2..9b96d0d2e57 100644 | |
} | ||
} | ||
|
||
-- | ||
2.42.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ Signed-off-by: Ruben De Smet <[email protected]> | |
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/src/tools/cargo/src/cargo/core/compiler/mod.rs b/src/tools/cargo/src/cargo/core/compiler/mod.rs | ||
index 31e63c226..976b101fd 100644 | ||
index 7024a2ac5..ebce975a9 100644 | ||
--- a/src/tools/cargo/src/cargo/core/compiler/mod.rs | ||
+++ b/src/tools/cargo/src/cargo/core/compiler/mod.rs | ||
@@ -1111,6 +1111,9 @@ fn build_base_args(cx: &Context<'_, '_>, cmd: &mut ProcessBuilder, unit: &Unit) | ||
|
@@ -25,3 +25,6 @@ index 31e63c226..976b101fd 100644 | |
} | ||
|
||
opt( | ||
-- | ||
2.42.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,12 +12,12 @@ Signed-off-by: Ruben De Smet <[email protected]> | |
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/src/tools/cargo/src/cargo/core/compiler/compile_kind.rs b/src/tools/cargo/src/cargo/core/compiler/compile_kind.rs | ||
index 73d8f89cc..d35f55d11 100644 | ||
index 73d8f89cc..5d17c15d2 100644 | ||
--- a/src/tools/cargo/src/cargo/core/compiler/compile_kind.rs | ||
+++ b/src/tools/cargo/src/cargo/core/compiler/compile_kind.rs | ||
@@ -71,7 +71,13 @@ impl CompileKind { | ||
} | ||
|
||
let kinds = match &config.build_config()?.target { | ||
- None => Ok(vec![CompileKind::Host]), | ||
+ None => { | ||
|
@@ -29,3 +29,7 @@ index 73d8f89cc..d35f55d11 100644 | |
+ } | ||
Some(build_target_config) => dedup(&build_target_config.values(config)?), | ||
}; | ||
|
||
-- | ||
2.42.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters