about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2023-07-07Silence all the boilerplate around `./miri run` and `./miri run-dep`Oli Scherer-1/+1
2023-07-06Stop parsing ui_test annotations in `run-dep` modeOli Scherer-10/+17
2023-07-03Auto merge of #2959 - RalfJung:vectest, r=RalfJungbors-6/+6
vec tets: ensure pointer is still writeable Under Tree Borrows, a pointer can become read-only: still allowing reads but not permitting writes any more. So these tests that want to check that pointers remain valid need to do writes to ensure that pointers indeed remain fully valid.
2023-07-03vec tets: ensure pointer is still writeableRalf Jung-6/+6
2023-07-03Auto merge of #2955 - rust-lang:rustup2023-07-03, r=oli-obkbors-8979/+28705
Automatic sync from rustc
2023-07-03Silence clippy on FIXME'd code and fix the new lints otherwiseOli Scherer-2/+4
2023-07-03fmtThe Miri Conjob Bot-35/+53
2023-07-03Merge from rustcThe Miri Conjob Bot-8941/+28647
2023-07-06Fix LLVM config path on WindowsJakub Beránek-1/+1
2023-07-04Use `llvm-config` instead of `download-ci-llvm` in PGO scriptJakub Beránek-2/+7
This should avoid CI breakage when the LLVM stamp is updated, and also it will avoid an unnecessary LLVM download from CI.
2023-07-03Preparing for merge from rustcThe Miri Conjob Bot-1/+1
2023-07-03Auto merge of #113271 - matthiaskrgr:rollup-2ik4vaj, r=matthiaskrgrbors-20/+29
Rollup of 3 pull requests Successful merges: - #113253 (Fixed documentation of from<CString> for Rc<CStr>: Arc -> Rc) - #113258 (Migrate GUI colors test to original CSS color format) - #113259 (Suggest `x build library` for a custom toolchain that fails to load `core`) r? `@ghost` `@rustbot` modify labels: rollup
2023-07-03Auto merge of #112882 - DrMeepster:new_un_derefer, r=oli-obkbors-136/+137
Rewrite `UnDerefer` Currently, `UnDerefer` is used by drop elaboration to undo the effects of the `Derefer` pass. However, it just recreates the original places with derefs in the middle of the projection. Because `ProjectionElem::Deref` is intended to be removed completely in the future, this will not work forever. This PR introduces a `deref_chain` method that returns the places behind `DerefTemp` locals in a place and rewrites the move path code to use this. In the process, `UnDerefer` was merged into `MovePathLookup`. Now that move paths use the same places as in the MIR, the other uses of `UnDerefer` no longer require it. See #98145 cc `@ouz-a` r? `@oli-obk`
2023-07-03Auto merge of #113176 - workingjubilee:backtrace-0.3.68, r=thomccbors-49/+22
Backtrace 0.3.68 Uptakes these releases: - https://github.com/rust-lang/backtrace-rs/releases/tag/0.3.68 r? `@thomcc`
2023-07-02Update std to backtrace 0.3.68Jubilee Young-49/+22
Dedup addr2line, miniz_oxide, object in .lock
2023-07-02Rollup merge of #113259 - MU001999:diag/add-std, r=NilstriebMatthias Krüger-4/+13
Suggest `x build library` for a custom toolchain that fails to load `core` Fixes #113222 r? `@jyn514`
2023-07-02Rollup merge of #113258 - GuillaumeGomez:migrate-gui-test-color-19, r=notriddleMatthias Krüger-15/+15
Migrate GUI colors test to original CSS color format Follow-up of https://github.com/rust-lang/rust/pull/111459. r? `@notriddle`
2023-07-02Rollup merge of #113253 - nurmukhametdaniyar:rc_from_cstr_doc_fix, r=NilstriebMatthias Krüger-1/+1
Fixed documentation of from<CString> for Rc<CStr>: Arc -> Rc Fix #113131
2023-07-02Auto merge of #113046 - Nilstrieb:update, r=Mark-Simulacrumbors-503/+531
cargo update #112865 with the tidy exemptions and tracing and syn 2 not upgraded Additional deps: equivalent: indexmap errno: through rustix errno-dragonfly: errno nu-ansi-term: tracing overload: nu-ansi-term r? Mark-Simulacrum
2023-07-02Auto merge of #2954 - RalfJung:cron, r=RalfJungbors-10/+9
cron auto-PR: can't seem to avoid repeating the branch name...
2023-07-02can't seem to avoid repeating the branch name...Ralf Jung-3/+3
2023-07-02more CI yml cleanupRalf Jung-7/+6
2023-07-02Auto merge of #2953 - RalfJung:cron, r=RalfJungbors-2/+4
sadly 'gh' doesnt support all git upstream branch configs
2023-07-02sadly 'gh' doesnt support all git upstream branch configsRalf Jung-2/+4
2023-07-02downgrade compiler_builtinsNilstrieb-3/+4
The outline-atomics support in compiler_builtins messed up and wasn't limited to linux only. https://github.com/rust-lang/compiler-builtins/pull/532/files#r1249354225
2023-07-02Downgrade rustixNilstrieb-4/+8
See https://github.com/rust-lang/rust/pull/113046#issuecomment-1616094626.
2023-07-02Downgrade tracing and synNilstrieb-23/+24
There's currently a deadlock with tracing when RUSTC_LOG is enabled. Downgrade tracing-core for now to avoid blocking the other updates. syns upgrades cause some nontrivial changes in the diagnostics derive tests, which are best dealt with in another PR.
2023-07-02Auto merge of #108537 - ↵bors-188/+431
GuillaumeGomez:rustdoc-search-whitespace-as-separator, r=notriddle rustdoc: Allow whitespace as path separator like double colon Fixes https://github.com/rust-lang/rust/issues/108447. I think it makes sense since it allows more common cases, however it also makes the syntax heavier. Not sure what the rest of the team thinks about it. In any case we'll need to go through FCP. Full explanation for the changes is available [here](https://github.com/rust-lang/rust/pull/108537#issuecomment-1589480564). r? `@notriddle`
2023-07-02cargo updateNilstrieb-516/+538
Additional deps: equivalent: indexmap nu-ansi-term: tracing overload: nu-ansi-term
2023-07-02Auto merge of #2952 - RalfJung:cron, r=RalfJungbors-4/+2
cronjob auto-PR: try to fix setting the remote branch
2023-07-02cronjob auto-PR: try to fix setting the remote branchRalf Jung-4/+2
2023-07-02Auto merge of #2950 - icewind1991:cargo-miri-rustc-error, r=RalfJungbors-1/+5
cargo-miri: better error message when RUSTC is not set Currently, when running `cargo-miri` instead of `cargo miri` you get a very confusing. ``` thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: NotPresent', src/tools/miri/cargo-miri/src/main.rs:83:41 ``` error. This replaces that with a message telling them to use `cargo miri`
2023-07-02Auto merge of #2951 - rust-lang:cron, r=RalfJungbors-2/+2
cron auto-PR: need to set upstream branch
2023-07-02cron auto-PR: need to set upstream branchRalf Jung-2/+2
2023-07-02Auto merge of #113260 - flip1995:clippyup, r=Manishearthbors-5904/+21836
Update Clippy r? `@Manishearth` cc `@oli-obk` (for the ui-test changes in de69d556eb5006a21f868b8c12d48f0ef1308a5a and the valtree fix in 0cbe963e51faa7e3e771c1f9cea9aa443a648455) Fixes https://github.com/rust-lang/rust/issues/102093 This must've been the most involved Clippy sync ever.
2023-07-02cargo-miri: better error message when RUSTC is not setRobin Appelman-1/+5
2023-07-02Update Cargo.lockPhilipp Krones-59/+38
2023-07-02Fix compile-test tests to work with the new ui_test cratePhilipp Krones-26/+9
2023-07-02Fix valtree changesPhilipp Krones-2/+2
2023-07-02Merge commit '37f4c1725d3fd7e9c3ffd8783246bc5589debc53' into clippyupPhilipp Krones-5828/+21798
2023-07-02Auto merge of #113040 - Kobzol:llvm-remark-streamer, r=tmiaskobors-13/+180
Add `-Zremark-dir` unstable flag to write LLVM optimization remarks to YAML This PR adds an option for `rustc` to emit LLVM optimization remarks to a set of YAML files, which can then be digested by existing tools, like https://github.com/OfekShilon/optview2. When `-Cremark-dir` is passed, and remarks are enabled (`-Cremark=all`), the remarks will be now written to the specified directory, **instead** of being printed to standard error output. The files are named based on the CGU from which they are being generated. Currently, the remarks are written using the LLVM streaming machinery, directly in the diagnostics handler. It seemed easier than going back to Rust and then form there back to C++ to use the streamer from the diagnostics handler. But there are many ways to implement this, of course, so I'm open to suggestions :) I included some comments with questions into the code. Also, I'm not sure how to test this. r? `@tmiasko`
2023-07-02Auto merge of #2949 - RalfJung:cron, r=RalfJungbors-10/+5
cronjob auto-PR: fetch more of the history
2023-07-02CI cleanupRalf Jung-8/+3
2023-07-02cronjob auto-PR: fetch more of the historyRalf Jung-2/+2
2023-07-02Add `rustc` option to output LLVM optimization remarks to YAML filesJakub Beránek-13/+180
2023-07-02Auto merge of #113256 - matthiaskrgr:rollup-poex8w2, r=matthiaskrgrbors-50/+107
Rollup of 8 pull requests Successful merges: - #113147 (Fix document examples of Vec::from_raw_parts and Vec::from_raw_parts_in) - #113202 (std docs: factorize literal in Barrier example) - #113228 (Migrate GUI colors test to original CSS color format) - #113231 (Fix `dropping_copy_types` lint from linting in match-arm with side-effects) - #113233 (Update chalk) - #113234 (Don't pass --test-args to `python -m unitest`) - #113244 (Make Rust Analyzer tests faster by compiling less code) - #113249 (Document tracking issue for rustdoc `show-type-layout`) r? `@ghost` `@rustbot` modify labels: rollup
2023-07-02Suggest `x build library` for a custom toolchain that fails to load `core`Mu001999-4/+13
2023-07-02Auto merge of #2948 - RalfJung:cron, r=RalfJungbors-2/+6
cronjob auto-PR: make sure we are on a branch Also run this every hour to speed up testing
2023-07-02cronjob auto-PR: make sure we are on a branchRalf Jung-2/+6
2023-07-02Migrate GUI colors test to original CSS color formatGuillaume Gomez-15/+15