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
Show file tree
Hide file tree
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
rewrite linkage-attr-on-static to rmake
  • Loading branch information
Oneirical committed Jul 19, 2024
commit 1f976b43da767ae3926df75ccfda279159038bcb
2 changes: 0 additions & 2 deletions src/tools/tidy/src/allowed_run_make_makefiles.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ run-make/libtest-junit/Makefile
run-make/libtest-thread-limit/Makefile
run-make/link-cfg/Makefile
run-make/link-framework/Makefile
run-make/linkage-attr-on-static/Makefile
run-make/long-linker-command-lines-cmd-exe/Makefile
run-make/long-linker-command-lines/Makefile
run-make/lto-linkage-used-attr/Makefile
Expand Down Expand Up @@ -76,7 +75,6 @@ run-make/redundant-libs/Makefile
run-make/remap-path-prefix-dwarf/Makefile
run-make/reproducible-build-2/Makefile
run-make/reproducible-build/Makefile
run-make/return-non-c-like-enum-from-c/Makefile
run-make/rlib-format-packed-bundled-libs-2/Makefile
run-make/rlib-format-packed-bundled-libs-3/Makefile
run-make/rlib-format-packed-bundled-libs/Makefile
Expand Down
6 changes: 0 additions & 6 deletions tests/run-make/linkage-attr-on-static/Makefile

This file was deleted.

15 changes: 15 additions & 0 deletions tests/run-make/linkage-attr-on-static/rmake.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// #[linkage] is a useful attribute which can be applied to statics to allow
// external linkage, something which was not possible before #18890. This test
// checks that using this new feature results in successful compilation and execution.
// See https://github.com/rust-lang/rust/pull/18890

//@ ignore-cross-compile
// Reason: the compiled binary is executed

use run_make_support::{build_native_static_lib, run, rustc};

fn main() {
build_native_static_lib("foo");
rustc().input("bar.rs").run();
run("bar");
}
6 changes: 0 additions & 6 deletions tests/run-make/pass-non-c-like-enum-to-c/Makefile

This file was deleted.