Skip to content
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

Rollup of 7 pull requests #128003

Closed
wants to merge 34 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
0d508bb
Introduce and provide a hook for `should_codegen_locally`
momvart Jul 15, 2024
14430e6
Use the hook on tcx instead of the local function
momvart Jul 15, 2024
9b80250
Move compiler_builtin check to the use case
momvart Jul 15, 2024
9e354da
unix: Unsafe-wrap stack_overflow::signal_handler
workingjubilee Jul 17, 2024
357ba1f
unix: lift init of sigaltstack before sigaction
workingjubilee Jul 17, 2024
fa628ce
unix: Unsafe-wrap stack_overflow::cleanup
workingjubilee Jul 17, 2024
c1740ee
unix: Unsafe-wrap stack_overflow::{drop,make}_handler
workingjubilee Jul 17, 2024
529fcbc
unix: acquire-load NEED_ALTSTACK
workingjubilee Jul 18, 2024
ead6aad
Make command output capturing more explicit
Kobzol Jul 7, 2024
1984a46
Make it easier to detect when bootstrap tries to read uncaptured stdo…
Kobzol Jul 7, 2024
36ebf7a
run_make_support: skip rustfmt for lib.rs to preserve use ordering
jieyouxu Jul 19, 2024
5b1860a
rewrite return-non-c-like-enum-from-c to rmake
Oneirical Jul 12, 2024
5e55f07
rewrite and rename issue-28595 to rmake
Oneirical Jul 12, 2024
1ae1ab8
rewrite c-static-dylib to rmake
Oneirical Jul 12, 2024
1a4fba5
rewrite c-static-rlib to rmake
Oneirical Jul 12, 2024
8a09f22
rewrite extern-fn-generic to rmake
Oneirical Jul 12, 2024
01c7118
rewrite extern-fn-with-union to rmake
Oneirical Jul 12, 2024
db8398d
rewrite lto-no-link-whole-rlib to rmake
Oneirical Jul 12, 2024
1f976b4
rewrite linkage-attr-on-static to rmake
Oneirical Jul 12, 2024
fdc8d62
rewrite pass-non-c-like-enum-to-c to rmake
Oneirical Jul 17, 2024
1d83da8
kmc-solid: forbid(unsafe_op_in_unsafe_fn)
workingjubilee Jul 17, 2024
e9b3e9c
std: forbid unwrapped unsafe in unsupported_backslash
workingjubilee Jul 17, 2024
3b7e4bc
Split out `remove_never_subcandidates`
Zalathar Jul 18, 2024
e091c35
Improve `merge_trivial_subcandidates`
Zalathar Jul 18, 2024
e60c5c1
Split out `test_remaining_match_pairs_after_or`
Zalathar Jul 18, 2024
886668c
Improve `test_remaining_match_pairs_after_or`
Zalathar Jul 18, 2024
239037e
Inline `finalize_or_candidate`
Zalathar Jul 18, 2024
45c9d72
Rollup merge of #127663 - Oneirical:fuzzy-testure, r=jieyouxu
tgross35 Jul 20, 2024
6ebba0c
Rollup merge of #127779 - momvart:should_codegen_hook, r=cjgillot
tgross35 Jul 20, 2024
1d956bc
Rollup merge of #127799 - Kobzol:bootstrap-cmd-refactor-7, r=onur-ozkan
tgross35 Jul 20, 2024
db0ad07
Rollup merge of #127843 - workingjubilee:break-up-big-ass-stack-overf…
tgross35 Jul 20, 2024
af59c02
Rollup merge of #127873 - workingjubilee:forbid-unsafe-ops-for-kmc-so…
tgross35 Jul 20, 2024
e2530e6
Rollup merge of #127917 - Zalathar:after-or, r=Nadrieril
tgross35 Jul 20, 2024
a8bded6
Rollup merge of #127964 - jieyouxu:rmake-rustfmt-skip, r=nnethercote
tgross35 Jul 20, 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
Prev Previous commit
Next Next commit
unix: acquire-load NEED_ALTSTACK
Co-authored-by: Jonas Böttiger <jonasboettiger@icloud.com>
  • Loading branch information
workingjubilee and joboet authored Jul 18, 2024
commit 529fcbcd6d7c72e942f0e70fefb7db182338ee43
2 changes: 1 addition & 1 deletion library/std/src/sys/pal/unix/stack_overflow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ mod imp {
/// Mutates the alternate signal stack
#[forbid(unsafe_op_in_unsafe_fn)]
pub unsafe fn make_handler(main_thread: bool) -> Handler {
if !NEED_ALTSTACK.load(Ordering::Relaxed) {
if !NEED_ALTSTACK.load(Ordering::Acquire) {
return Handler::null();
}

Expand Down
Loading