-
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
6 changed files
with
48 additions
and
48 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,10 +10,10 @@ 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 5c4bee87553..63946e46122 100644 | ||
index e5df28a49af..48a9fafea6f 100644 | ||
--- a/config.example.toml | ||
+++ b/config.example.toml | ||
@@ -88,7 +88,7 @@ changelog-seen = 2 | ||
@@ -99,7 +99,7 @@ change-id = 116881 | ||
# the resulting rustc being unable to compile for the disabled architectures. | ||
# | ||
# To add support for new targets, see https://rustc-dev-guide.rust-lang.org/building/new-target.html. | ||
|
@@ -23,5 +23,5 @@ index 5c4bee87553..63946e46122 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 | ||
2.43.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,7 +20,7 @@ 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 a5604c92a80..8438d7dcc30 100644 | ||
index 40eb910fdc3..8798aa7061c 100644 | ||
--- a/library/std/src/sys/unix/fs.rs | ||
+++ b/library/std/src/sys/unix/fs.rs | ||
@@ -17,28 +17,11 @@ | ||
|
@@ -49,10 +49,10 @@ index a5604c92a80..8438d7dcc30 100644 | |
- all(target_os = "linux", target_env = "gnu") | ||
-))] | ||
-use libc::c_char; | ||
#[cfg(any(target_os = "linux", target_os = "emscripten", target_os = "android"))] | ||
use libc::dirfd; | ||
#[cfg(any(target_os = "linux", target_os = "emscripten"))] | ||
@@ -98,20 +81,9 @@ | ||
#[cfg(any( | ||
all(target_os = "linux", not(target_env = "musl")), | ||
target_os = "emscripten", | ||
@@ -117,20 +100,9 @@ | ||
// https://github.com/rust-lang/rust/pull/67774 | ||
macro_rules! cfg_has_statx { | ||
({ $($then_tt:tt)* } else { $($else_tt:tt)* }) => { | ||
|
@@ -76,5 +76,5 @@ index a5604c92a80..8438d7dcc30 100644 | |
|
||
cfg_has_statx! {{ | ||
-- | ||
2.42.0 | ||
2.43.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 f00472f181d..a2b9fbf82db 100644 | ||
index f745bc390ca..934f16ab4ab 100644 | ||
--- a/compiler/rustc_session/src/config.rs | ||
+++ b/compiler/rustc_session/src/config.rs | ||
@@ -2226,7 +2226,14 @@ pub fn parse_target_triple( | ||
@@ -2241,7 +2241,14 @@ pub fn parse_target_triple( | ||
}) | ||
} | ||
Some(target) => TargetTriple::TargetTriple(target), | ||
|
@@ -35,5 +35,5 @@ index f00472f181d..a2b9fbf82db 100644 | |
} | ||
|
||
-- | ||
2.42.0 | ||
2.43.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 |
---|---|---|
|
@@ -41,10 +41,10 @@ Signed-off-by: Ruben De Smet <[email protected]> | |
2 files changed, 172 insertions(+), 20 deletions(-) | ||
|
||
diff --git a/library/std/src/sys/unix/process/process_common.rs b/library/std/src/sys/unix/process/process_common.rs | ||
index 640648e8707..f15625e0514 100644 | ||
index bac32d9e60e..3cd9767da88 100644 | ||
--- a/library/std/src/sys/unix/process/process_common.rs | ||
+++ b/library/std/src/sys/unix/process/process_common.rs | ||
@@ -84,7 +84,7 @@ pub unsafe fn sigaddset(set: *mut libc::sigset_t, signum: libc::c_int) -> libc:: | ||
@@ -85,7 +85,7 @@ pub unsafe fn sigaddset(set: *mut libc::sigset_t, signum: libc::c_int) -> libc:: | ||
//////////////////////////////////////////////////////////////////////////////// | ||
|
||
pub struct Command { | ||
|
@@ -53,7 +53,7 @@ index 640648e8707..f15625e0514 100644 | |
args: Vec<CString>, | ||
/// Exactly what will be passed to `execvp`. | ||
/// | ||
@@ -93,6 +93,13 @@ pub struct Command { | ||
@@ -94,6 +94,13 @@ pub struct Command { | ||
/// `args` to properly update this as well. | ||
argv: Argv, | ||
env: CommandEnv, | ||
|
@@ -67,7 +67,7 @@ index 640648e8707..f15625e0514 100644 | |
|
||
program_kind: ProgramKind, | ||
cwd: Option<CString>, | ||
@@ -109,6 +116,14 @@ pub struct Command { | ||
@@ -110,6 +117,14 @@ pub struct Command { | ||
pgroup: Option<pid_t>, | ||
} | ||
|
||
|
@@ -82,7 +82,7 @@ index 640648e8707..f15625e0514 100644 | |
// Create a new type for argv, so that we can make it `Send` and `Sync` | ||
struct Argv(Vec<*const c_char>); | ||
|
||
@@ -181,16 +196,24 @@ pub fn new(program: &OsStr) -> Command { | ||
@@ -183,16 +198,24 @@ pub fn new(program: &OsStr) -> Command { | ||
let mut saw_nul = false; | ||
let program_kind = ProgramKind::new(program.as_ref()); | ||
let program = os2c(program, &mut saw_nul); | ||
|
@@ -110,7 +110,7 @@ index 640648e8707..f15625e0514 100644 | |
closures: Vec::new(), | ||
groups: None, | ||
stdin: None, | ||
@@ -205,16 +228,24 @@ pub fn new(program: &OsStr) -> Command { | ||
@@ -207,16 +230,24 @@ pub fn new(program: &OsStr) -> Command { | ||
let mut saw_nul = false; | ||
let program_kind = ProgramKind::new(program.as_ref()); | ||
let program = os2c(program, &mut saw_nul); | ||
|
@@ -138,7 +138,7 @@ index 640648e8707..f15625e0514 100644 | |
closures: Vec::new(), | ||
groups: None, | ||
stdin: None, | ||
@@ -225,6 +256,16 @@ pub fn new(program: &OsStr) -> Command { | ||
@@ -227,6 +258,16 @@ pub fn new(program: &OsStr) -> Command { | ||
} | ||
} | ||
|
||
|
@@ -156,7 +156,7 @@ index 640648e8707..f15625e0514 100644 | |
// Set a new arg0 | ||
let arg = os2c(arg, &mut self.saw_nul); | ||
diff --git a/library/std/src/sys/unix/process/process_unix.rs b/library/std/src/sys/unix/process/process_unix.rs | ||
index 3963e7f52d5..b491c2ad75f 100644 | ||
index 72aca4e6659..495368b58ec 100644 | ||
--- a/library/std/src/sys/unix/process/process_unix.rs | ||
+++ b/library/std/src/sys/unix/process/process_unix.rs | ||
@@ -25,7 +25,7 @@ | ||
|
@@ -350,7 +350,7 @@ index 3963e7f52d5..b491c2ad75f 100644 | |
} | ||
|
||
if let Some(pgroup) = self.get_pgroup() { | ||
@@ -401,8 +504,12 @@ fn drop(&mut self) { | ||
@@ -408,8 +511,12 @@ fn drop(&mut self) { | ||
_reset = Some(Reset(*sys::os::environ())); | ||
*sys::os::environ() = envp.as_ptr(); | ||
} | ||
|
@@ -365,15 +365,15 @@ index 3963e7f52d5..b491c2ad75f 100644 | |
Err(io::Error::last_os_error()) | ||
} | ||
|
||
@@ -429,6 +536,7 @@ fn posix_spawn( | ||
@@ -436,6 +543,7 @@ fn posix_spawn( | ||
_: &ChildPipes, | ||
_: Option<&CStringArray>, | ||
) -> io::Result<Option<Process>> { | ||
+ eprintln!("process_unix:270: in null posix_spawn"); | ||
Ok(None) | ||
} | ||
|
||
@@ -452,12 +560,15 @@ fn posix_spawn( | ||
@@ -459,12 +567,15 @@ fn posix_spawn( | ||
use crate::mem::MaybeUninit; | ||
use crate::sys::{self, cvt_nz, unix_sigpipe_attr_specified}; | ||
|
||
|
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,13 +10,13 @@ The feature causes linking problems. | |
|
||
Signed-off-by: Matti Lehtimäki <[email protected]> | ||
--- | ||
compiler/rustc_target/src/spec/aarch64_unknown_linux_gnu.rs | 2 +- | ||
.../rustc_target/src/spec/targets/aarch64_unknown_linux_gnu.rs | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/compiler/rustc_target/src/spec/aarch64_unknown_linux_gnu.rs b/compiler/rustc_target/src/spec/aarch64_unknown_linux_gnu.rs | ||
index da246089440..8c5daccc331 100644 | ||
--- a/compiler/rustc_target/src/spec/aarch64_unknown_linux_gnu.rs | ||
+++ b/compiler/rustc_target/src/spec/aarch64_unknown_linux_gnu.rs | ||
diff --git a/compiler/rustc_target/src/spec/targets/aarch64_unknown_linux_gnu.rs b/compiler/rustc_target/src/spec/targets/aarch64_unknown_linux_gnu.rs | ||
index c0b07db3818..b8f240295be 100644 | ||
--- a/compiler/rustc_target/src/spec/targets/aarch64_unknown_linux_gnu.rs | ||
+++ b/compiler/rustc_target/src/spec/targets/aarch64_unknown_linux_gnu.rs | ||
@@ -7,7 +7,7 @@ pub fn target() -> Target { | ||
data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128".into(), | ||
arch: "aarch64".into(), | ||
|
@@ -27,5 +27,5 @@ index da246089440..8c5daccc331 100644 | |
max_atomic_width: Some(128), | ||
supported_sanitizers: SanitizerSet::ADDRESS | ||
-- | ||
2.42.0 | ||
2.43.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