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 #125358

Merged
merged 36 commits into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
0eb782d
Document all Apple targets in rustc's platform support
madsmtm May 5, 2024
1d1981b
Add opt-for-size core lib feature flag
diondokter May 11, 2024
579266a
Add flag to std and alloc too
diondokter May 11, 2024
9ab0af8
Add flag to sysroot
diondokter May 11, 2024
b8b6898
Forward alloc features to core
diondokter May 13, 2024
b964b00
Run tests with the flag enabled
diondokter May 17, 2024
5c30142
Only test std, alloc and core
diondokter May 17, 2024
f0b8da4
rewrite no-intermediate-extras
Oneirical May 17, 2024
abdaed2
tidy fix
Oneirical May 17, 2024
9d0b75f
missing import
Oneirical May 17, 2024
8c43e54
fix: swap the error codes
Oneirical May 17, 2024
6016bad
Use `_NSGetEnviron` instead of `environ` on iOS/tvOS/watchOS/visionOS
madsmtm May 17, 2024
8f18e4f
Use `_NSGetArgc`/`_NSGetArgv` on iOS/tvOS/watchOS/visionOS
madsmtm May 17, 2024
1914c72
compiler: add simd_ctpop intrinsic
workingjubilee May 19, 2024
abd5d0e
Add NULL check in argument parsing on Apple platforms
madsmtm May 19, 2024
1185a64
miri: support simd_ctpop
workingjubilee May 20, 2024
9557b90
cg_clif: support simd_ctpop
workingjubilee May 20, 2024
213351a
clarify the second arg to llvm.ctlz and cttz
workingjubilee May 20, 2024
38ad851
Make NULL check in argument parsing the same on all unix platforms
madsmtm May 20, 2024
0d23a71
Deduplicate test command
diondokter May 20, 2024
bd71c71
Move tests to more opportune point
diondokter May 20, 2024
f6cf103
Small fixes to `std::path::absolute` docs
tbu- May 20, 2024
95c47d3
simplify
Oneirical May 21, 2024
eb10eb2
Reorder top-level attributes.
nnethercote Apr 24, 2024
d8ea468
Reorder some `use` items.
nnethercote Apr 25, 2024
ce22232
Minor `pub` and whitespace cleanups.
nnethercote Apr 30, 2024
c1d5b6a
Remove erroneous comment.
nnethercote Apr 30, 2024
ac847b2
Remove unused features from `rustc_middle`.
nnethercote Apr 30, 2024
3ac816a
Sort `rustc_middle` attributes.
nnethercote Apr 30, 2024
df59800
Rollup merge of #124570 - nnethercote:misc-cleanups, r=michaelwoerister
matthiaskrgr May 21, 2024
4a4883b
Rollup merge of #124772 - madsmtm:apple-platform-support-docs, r=oli-obk
matthiaskrgr May 21, 2024
4abf179
Rollup merge of #125011 - diondokter:opt-for-size, r=Amanieu,kobzol
matthiaskrgr May 21, 2024
7ef533b
Rollup merge of #125218 - Oneirical:easy-test-the-third, r=jieyouxu
matthiaskrgr May 21, 2024
a8ee8d5
Rollup merge of #125225 - madsmtm:ios-crt_externs.h, r=workingjubilee
matthiaskrgr May 21, 2024
fd975f7
Rollup merge of #125266 - workingjubilee:stream-plastic-love, r=RalfJ…
matthiaskrgr May 21, 2024
e6e05d5
Rollup merge of #125348 - tbu-:pr_doc_path_absolute, r=jhpratt
matthiaskrgr May 21, 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
1 change: 0 additions & 1 deletion src/tools/tidy/src/allowed_run_make_makefiles.txt
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ run-make/no-alloc-shim/Makefile
run-make/no-builtins-attribute/Makefile
run-make/no-builtins-lto/Makefile
run-make/no-duplicate-libs/Makefile
run-make/no-intermediate-extras/Makefile
run-make/obey-crate-type-flag/Makefile
run-make/optimization-remarks-dir-pgo/Makefile
run-make/optimization-remarks-dir/Makefile
Expand Down
8 changes: 0 additions & 8 deletions tests/run-make/no-intermediate-extras/Makefile

This file was deleted.

17 changes: 17 additions & 0 deletions tests/run-make/no-intermediate-extras/rmake.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// When using the --test flag with an rlib, this used to generate
// an unwanted .bc file, which should not exist. This test checks
// that the bug causing the generation of this file has not returned.
// See https://github.com/rust-lang/rust/issues/10973

//@ ignore-cross-compile

use run_make_support::{rustc, tmp_dir};
use std::fs;

fn main() {
rustc().crate_type("rlib").arg("--test").input("foo.rs").run();
assert!(
fs::remove_file(tmp_dir().join("foo.bc")).is_err(),
"An unwanted .bc file was created by run-make/no-intermediate-extras."
);
}