about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2023-04-03properly match multiple familiesPietro Albini-25/+39
2023-04-03migrate existing behavior of matches_archPietro Albini-1/+12
2023-04-03allow some out of tree archsPietro Albini-1/+14
2023-04-03reduce allocations when validating cfgsPietro Albini-20/+47
2023-04-03move cfg handling into its own modulePietro Albini-231/+239
2023-04-03handle "ignore-" and "only-"Pietro Albini-0/+6
2023-04-03avoid cloning the whole compiletest configuration for every testPietro Albini-31/+50
2023-04-03use --print=all-target-specs-json for stage1+Pietro Albini-20/+33
2023-04-03use target specs rather than --print=cfg to discover targetsPietro Albini-49/+29
2023-04-03implement --print=all-target-specs-jsonPietro Albini-4/+28
2023-04-03remove invalid ignore-powerpc64lePietro Albini-29/+23
2023-04-03remove invalid ignore-prettyPietro Albini-63/+12
2023-04-03split invalid only-x86-windows into only-x86 and only-windowsPietro Albini-1/+2
2023-04-03fix ignore-thumbv8m.basePietro Albini-1/+1
2023-04-03reduce boilerplate with common enumsPietro Albini-146/+76
2023-04-03validate ignore-FOO/only-FOO directives and output only-FOO reasoningPietro Albini-38/+178
2023-04-03include pretty reason why ignore-FOO matchedPietro Albini-73/+141
2023-04-03include eventual comment in the compiletest ignore reasonPietro Albini-17/+55
2023-04-03Auto merge of #109770 - jyn514:run-make-fulldeps, r=Mark-Simulacrumbors-95/+226
Move almost all run-make-fulldeps tests to run-make They pass fine, and this avoids having to build the compiler twice. There are few enough tests left that I think it should be possible to get rid of this test suite altogether, but I expect this PR to fail at least a few times in bors and want to get it merged before tackling further changes. cc https://github.com/rust-lang/rust/pull/83775 Fixes https://github.com/rust-lang/rust/issues/66085. Fixes https://github.com/rust-lang/rust/issues/83773.
2023-04-02try to fix test-variousjyn-1/+4
2023-04-02Auto merge of #109849 - scottmcm:more-fieldidx-rebase, r=oli-obkbors-46/+51
Use `FieldIdx` in various things related to aggregates Shrank `AggregateKind` by 8 bytes on x64, since the active field of a union is tracked as an `Option<FieldIdx>` instead of `Option<usize>`. Part 3/? of https://github.com/rust-lang/compiler-team/issues/606 [`IndexSlice`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_index/vec/struct.IndexVec.html#deref-methods-IndexSlice%3CI,+T%3E) was added in https://github.com/rust-lang/rust/pull/109787
2023-04-02Auto merge of #109811 - jyn514:symlink-fixes, r=Mark-Simulacrumbors-11/+12
Replace any existing `build/host` symlink This has two advantages: 1. If `build.build` changes between runs, the symlink is no longer silently wrong. 2. If the entire build directory is moved, the symlink is no longer broken because it points to the wrong absolute path.
2023-04-02Replace any existing `build/host` symlinkJynn Nelson-11/+12
This has two advantages: 1. If `build.build` changes between runs, the symlink is no longer silently wrong. 2. If the entire build directory is moved, the symlink is no longer broken because it points to the wrong absolute path.
2023-04-02Auto merge of #109008 - clubby789:drop-elaborate-array, r=davidtwcobors-18/+70
Drop array patterns using subslices Fixes #109004 Drops contiguous subslices of an array when moving elements out with a pattern, which improves perf for large arrays r? `@compiler-errors`
2023-04-02Auto merge of #109852 - Nilstrieb:rollup-g3mgxxw, r=Nilstriebbors-66/+44
Rollup of 4 pull requests Successful merges: - #109839 (Improve grammar of Iterator.partition_in_place) - #109840 (Fix typo in std/src/os/fd/owned.rs) - #109844 (a couple clippy::complexity fixes) - #109846 (more clippy::complexity fixes (iter_kv_map, map_flatten, nonminimal_bool)) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
2023-04-02Rollup merge of #109846 - matthiaskrgr:clippy2023_04_III, r=NilstriebNilstrieb-30/+21
more clippy::complexity fixes (iter_kv_map, map_flatten, nonminimal_bool)
2023-04-02Rollup merge of #109844 - matthiaskrgr:clippy2023_04, r=NilstriebNilstrieb-33/+20
a couple clippy::complexity fixes map_identity filter_next option_as_ref_deref unnecessary_find_map redundant_slicing unnecessary_unwrap bool_comparison derivable_impls manual_flatten needless_borrowed_reference
2023-04-02Rollup merge of #109840 - taiki-e:typo, r=ChrisDentonNilstrieb-1/+1
Fix typo in std/src/os/fd/owned.rs
2023-04-02Rollup merge of #109839 - sartak:iter-grammar, r=scottmcmNilstrieb-2/+2
Improve grammar of Iterator.partition_in_place This is my first PR against Rust, please let me know if there's anything I should be providing here! I didn't find any instructions specific to documentation grammar in the [std-dev guide](https://std-dev-guide.rust-lang.org/documentation/summary.html).
2023-04-02Auto merge of #109701 - Amanieu:binaryheap_retain, r=ChrisDentonbors-3/+1
Stabilize `binary_heap_retain` FCP finished in tracking issue: #71503
2023-04-02Auto merge of #109836 - clubby789:param-non-exhaustive, r=Nilstriebbors-1/+35
Fix `non_exhaustive_omitted_patterns` on arguments and locals Fixes #99815 r? `@Nilstrieb`
2023-04-01Use `FieldIdx` in various things related to aggregatesScott McMurray-46/+51
Shrank `AggregateKind` by 8 bytes on x64, since the active field of a union is tracked as an `Option<FieldIdx>` instead of `Option<usize>`.
2023-04-02Auto merge of #109834 - Nilstrieb:mailmap-myself, r=Mark-Simulacrumbors-0/+1
Add Nilstrieb to mailmap I saw that I'm on https://thanks.rust-lang.org/ twice (once as `Nilstrieb` and once as `nils`). This is because I've contributed as both `Nilstrieb` (locally) and `nils` (on github). So I've mailmapped them both to `Nilstrieb` (the less ambiguous of the two). I am not entirely sure whether I've done this correctly.
2023-04-01Auto merge of #109833 - klensy:bs-tty, r=Mark-Simulacrumbors-38/+42
bootstrap: replace `atty` with `is-terminal`, dedupe deps `atty` reported as [unsound](https://rustsec.org/advisories/RUSTSEC-2021-0145), so replaced with `is-terminal`, also updated few crates to reduce dupes fd-lock v3.0.8 -> v3.0.11 (https://github.com/yoshuawuyts/fd-lock/compare/v3.0.8...v3.0.11, https://github.com/yoshuawuyts/fd-lock/pull/38)
2023-04-01slighty simplify a few boolean expressions (clippy::nonminimal_bool)Matthias Krüger-5/+4
2023-04-01use and_then/flat_map for map().flatten()Matthias Krüger-10/+7
2023-04-01fix clippy::iter_kv_mapMatthias Krüger-15/+10
2023-04-01a couple clippy::complexity fixesMatthias Krüger-33/+20
map_identity filter_next option_as_ref_deref unnecessary_find_map redundant_slicing unnecessary_unwrap bool_comparison derivable_impls manual_flatten needless_borrowed_reference
2023-04-01Auto merge of #109483 - joboet:optimize_lazycell, r=Mark-Simulacrumbors-11/+77
Optimize `LazyCell` size `LazyCell` can only store either the initializing function or the data it produces, so it does not need to reserve the space for both. Similar to #107329, but uses an `enum` instead of a `union`.
2023-04-01Fix `non_exhaustive_omitted_patterns` on argumentsclubby789-1/+35
2023-04-01Auto merge of #109835 - ehuss:update-cargo, r=ehussbors-25/+87
Update cargo 9 commits in 145219a9f089f8b57c09f40525374fbade1e34ae..0e474cfd7b16b018cf46e95da3f6a5b2f1f6a9e7 2023-03-27 01:56:36 +0000 to 2023-03-31 23:15:58 +0000 - Add delays to network retries. (rust-lang/cargo#11881) - Add a note to `cargo logout` that it does not revoke the token. (rust-lang/cargo#11919) - Sync external-tools JSON docs. (rust-lang/cargo#11918) - Drop derive feature from serde in cargo-platform (rust-lang/cargo#11915) - Disable test_profile test on windows-gnu (rust-lang/cargo#11916) - src/doc/src/reference/build-scripts.md: a{n =&gt;} benchmark target (rust-lang/cargo#11908) - Documented working directory behaviour for `cargo test`, `cargo bench` and `cargo run` (rust-lang/cargo#11901) - docs(contrib): Link to office hours doc (rust-lang/cargo#11903) - chore: Upgrade to clap v4.2 (rust-lang/cargo#11904)
2023-04-02Fix typo in std/src/os/fd/owned.rsTaiki Endo-1/+1
2023-04-01Improve grammar of Iterator.partition_in_placeShawn M Moore-2/+2
b9535c0b7d6 Auto merge of #109801 - aliemjay:test-implied-normalization, r=petrochenkov
2023-04-01Update cargoEric Huss-25/+87
2023-04-01Add Nilstrieb to mailmapNilstrieb-0/+1
I saw that I'm on https://thanks.rust-lang.org/ twice (once as `Nilstrieb` and once as `nils`). This is because I've contributed as both `Nilstrieb` (locally) and `nils` (on github). So I've mailmapped them both to `Nilstrieb` (the less ambiguous of the two).
2023-04-01bootstrap replace atty with is-terminal, dedupe few depsklensy-38/+42
2023-04-01Auto merge of #109801 - aliemjay:test-implied-normalization, r=petrochenkovbors-0/+57
add test for normalization in implied bounds query See https://github.com/rust-lang/rust/issues/109799.
2023-04-01Auto merge of #109721 - QuinnPainter:armv4t-lld, r=petrochenkovbors-26/+3
Switch to LLD as default linker for {arm,thumb}v4t-none-eabi The LLVM 16 update brought ARMv4t support to LLD. We should use it by default so users don't need to install an external linker. cc `@Lokathor`
2023-03-31Auto merge of #109165 - aliemjay:fix-ice-annotation, r=davidtwcobors-2/+42
allow ReError in CanonicalUserTypeAnnotation Why not? we already allow `TyKind::Error`. Fixes #109072.
2023-03-31Auto merge of #109824 - GuillaumeGomez:rollup-i5r4uts, r=GuillaumeGomezbors-410/+1024
Rollup of 7 pull requests Successful merges: - #109104 (rustdoc: Fix invalid suggestions on ambiguous intra doc links v2) - #109443 (Move `doc(primitive)` future incompat warning to `invalid_doc_attributes`) - #109680 (Fix subslice capture in closure) - #109798 (fluent_messages macro: don't emit the OS error in a note) - #109805 (Source map cleanups) - #109818 (rustdoc: Add GUI test for jump to collapsed item) - #109820 (rustdoc-search: update docs for comma in `?` help popover) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup