Skip to content

Rollup of 10 pull requests #134107

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 23 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
18f8657
Pass -bnoipath when adding rust upstream dynamic crates
Aug 9, 2024
1ae1f8c
Clarify comment
daltenty Dec 6, 2024
3109f07
Replace sa_sigaction with sa_union.__su_sigaction for AIX.
xingxue-ibm Dec 6, 2024
ab2ee7a
Use option "-sf" for the AIX "ln" command.
xingxue-ibm Dec 6, 2024
3ce35a4
Make `Copy` unsafe to implement for ADTs with `unsafe` fields
jswrenn Dec 6, 2024
88669ae
Don't use AsyncFnOnce::CallOnceFuture bounds for signature deduction
compiler-errors Dec 7, 2024
c4d7f1d
implement `TargetSelection::is_cygwin` function
onur-ozkan Dec 8, 2024
d3b5340
handle cygwin environments in `install::sanitize_sh`
onur-ozkan Dec 8, 2024
c199c49
Use SourceMap to load debugger visualizer files
clubby789 Dec 8, 2024
db760e2
Move `write_graphviz_results` from `results.rs` to `graphviz.rs`.
nnethercote Dec 8, 2024
b59c4dc
Remove an out-of-date comment.
nnethercote Dec 8, 2024
e6bc427
jsondocck: Parse, don't validate commands.
aDotInTheVoid Nov 25, 2024
88c8b10
Add compiler-maintainers who requested to be on review rotation
wesleywiser Nov 12, 2024
47f4387
Rollup merge of #133478 - aDotInTheVoid:finally, r=fmease
fmease Dec 10, 2024
0981ba2
Rollup merge of #133967 - daltenty:daltenty/bnoipath, r=jieyouxu
fmease Dec 10, 2024
6ffeaa9
Rollup merge of #133970 - xingxue-ibm:sigaction, r=nnethercote
fmease Dec 10, 2024
2f2ce41
Rollup merge of #133980 - xingxue-ibm:ln-option-aix, r=jieyouxu
fmease Dec 10, 2024
4fe6179
Rollup merge of #134008 - jswrenn:unsafe-fields-copy, r=compiler-errors
fmease Dec 10, 2024
84a4095
Rollup merge of #134017 - compiler-errors:call-once-deduction, r=jiey…
fmease Dec 10, 2024
92d51e9
Rollup merge of #134023 - onur-ozkan:132507, r=jieyouxu
fmease Dec 10, 2024
461526a
Rollup merge of #134041 - clubby789:debugvis-sourcemap, r=jieyouxu
fmease Dec 10, 2024
41c7061
Rollup merge of #134065 - nnethercote:mv-write_graphviz_results, r=tm…
fmease Dec 10, 2024
fa8f31c
Rollup merge of #134106 - wesleywiser:update_compiler_review_queue_ma…
fmease Dec 10, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,14 @@ fn start(argc: isize, argv: *const *const u8) -> isize {
let actual = unsafe {
let mut actual: libc::sigaction = std::mem::zeroed();
libc::sigaction(libc::SIGPIPE, std::ptr::null(), &mut actual);
actual.sa_sigaction
#[cfg(not(target_os = "aix"))]
{
actual.sa_sigaction
}
#[cfg(target_os = "aix")]
{
actual.sa_union.__su_sigaction as libc::sighandler_t
}
};

assert_eq!(actual, expected, "actual and expected SIGPIPE disposition in child differs");
Expand Down
9 changes: 8 additions & 1 deletion tests/ui/runtime/on-broken-pipe/auxiliary/sigpipe-utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,14 @@ pub fn assert_sigpipe_handler(expected_handler: SignalHandler) {
let actual = unsafe {
let mut actual: libc::sigaction = std::mem::zeroed();
libc::sigaction(libc::SIGPIPE, std::ptr::null(), &mut actual);
actual.sa_sigaction
#[cfg(not(target_os = "aix"))]
{
actual.sa_sigaction
}
#[cfg(target_os = "aix")]
{
actual.sa_union.__su_sigaction as libc::sighandler_t
}
};

let expected = match expected_handler {
Expand Down
9 changes: 8 additions & 1 deletion tests/ui/runtime/signal-alternate-stack-cleanup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,14 @@ fn main() {
// Install signal handler that runs on alternate signal stack.
let mut action: sigaction = std::mem::zeroed();
action.sa_flags = (SA_ONSTACK | SA_SIGINFO) as _;
action.sa_sigaction = signal_handler as sighandler_t;
#[cfg(not(target_os = "aix"))]
{
action.sa_sigaction = signal_handler as sighandler_t;
}
#[cfg(target_os = "aix")]
{
action.sa_union.__su_sigaction = signal_handler as sighandler_t;
}
sigaction(SIGWINCH, &action, std::ptr::null_mut());

// Send SIGWINCH on exit.
Expand Down