about summary refs log tree commit diff
path: root/src/tools
AgeCommit message (Collapse)AuthorLines
2023-10-04Auto merge of #3105 - RalfJung:sysroot-target, r=RalfJungbors-1/+4
miri-script: print which sysroot target we are building
2023-10-04miri-script: print which sysroot target we are buildingRalf Jung-1/+4
2023-10-04auto-detect no_std where possibleRalf Jung-19/+22
2023-10-05Fix typo in attrs.rsIkko Eltociear Ashimine-2/+2
documenation -> documentation
2023-10-04Auto merge of #116360 - compiler-errors:async-span, r=oli-obkbors-19/+22
Point to full `async fn` for future Semi-follow-up to https://github.com/rust-lang/rust/pull/116296#discussion_r1342007575 cc `@asquared31415`
2023-10-04Update cargoWeihang Lo-0/+0
2023-10-03wording tweaksRalf Jung-2/+2
2023-10-03Fix typos `*ucom` → `ucom*`Eduardo Sánchez Muñoz-2/+2
2023-10-03Auto merge of #115025 - ouz-a:ouz_testing, r=lcnrbors-0/+1
Make subtyping explicit in MIR This adds new mir-opt that pushes new `ProjectionElem` called `ProjectionElem::Subtype(T)` to `Rvalue` of a subtyped assignment so we can unsoundness issues like https://github.com/rust-lang/rust/issues/107205 Addresses https://github.com/rust-lang/rust/issues/112651 r? `@lcnr`
2023-10-03Point to full async fn for futureMichael Goulet-19/+22
2023-10-02have better explanation for `relate_types`ouz-a-0/+0
2023-10-02change is_subtype to relate_typesouz-a-0/+0
2023-10-02subtyping_projectionsouz-a-0/+1
2023-10-02Rollup merge of #114453 - Kobzol:ci-group-stdout, r=onur-ozkanTyler Mandry-3/+3
Print GHA log groups to stdout instead of stderr In all other places (e.g. `bootstrap.py`, `opt-dist`), we use stdout instead of stderr. I think that using stderr might be causing some discrepancies in the log, where sometimes the contents of a group "leak" outside the group. Let's see what happens if we use stdout instead. It's possible that it will be worse, since we print most stuff to stderr (?). r? `@ghost`
2023-10-02add test for a function ABI mismatch due to target featuresRalf Jung-0/+50
2023-10-02Add artifact size and step duration summaries from `opt-dist` to github job ↵Jakub Beránek-28/+94
summary
2023-10-02Auto merge of #115898 - onur-ozkan:config-change-tracking, r=Mark-Simulacrumbors-1/+1
bootstrap major change detection implementation The use of `changelog-seen` and `bootstrap/CHANGELOG.md` has not been functional in any way for many years. We often do major/breaking changes but never update the changelog file or the `changelog-seen`. This is an alternative method for tracking major or breaking changes and informing developers when such changes occur. Example output when bootstrap detects a major change: ![image](https://github.com/rust-lang/rust/assets/39852038/ee802dfa-a02b-488b-a433-f853ce079b8a)
2023-10-01implement major change tracking for the bootstrap configurationonur-ozkan-1/+1
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2023-10-01Auto merge of #116307 - RalfJung:miri, r=RalfJungbors-31/+841
Miri subtree update r? `@ghost`
2023-10-01Auto merge of #115670 - Zoxc:outline-panic-macro-1, r=Mark-Simulacrumbors-23/+52
Partially outline code inside the panic! macro This outlines code inside the panic! macro in some cases. This is split out from https://github.com/rust-lang/rust/pull/115562 to exclude changes to rustc.
2023-09-30clippyRalf Jung-2/+5
2023-09-30fmtRalf Jung-14/+11
2023-09-30Merge from rustcRalf Jung-37/+106
2023-09-30Preparing for merge from rustcRalf Jung-1/+1
2023-09-30Auto merge of #3086 - eduardosm:x86-sse3-intrinsics, r=RalfJungbors-0/+737
Implement SSE3 and SSSE3 intrinsics
2023-09-30Bump libloading to 0.8Samuel Thibault-4/+4
2023-09-30Auto merge of #116254 - WaffleLapkin:nicen-traversal, r=cjgillotbors-13/+19
Assorted improvements for `rustc_middle::mir::traversal` r? `@cjgillot` I'm not _entirely_ sure about all changes, although I do like all of them. If you'd like I can drop some commits. Best reviewed on a commit-by-commit basis, I think, since they are fairly isolated.
2023-09-30Implement `llvm.x86.ssse3.*` intrinsicsEduardo Sánchez Muñoz-146/+644
2023-09-30Implement `llvm.x86.sse3.*` intrinsicsEduardo Sánchez Muñoz-0/+239
2023-09-30Auto merge of #116280 - weihanglo:update-cargo, r=weihanglobors-0/+0
Update cargo 4 commits in e6aabe8b3fcf639be3a5bf68e77853bd7b3fa27d..59596f0f31a94fde48b5aa7e945cd0b7ceca9620 2023-09-26 16:31:53 +0000 to 2023-09-29 19:29:17 +0000 - refactor: Switch from termcolor to anstream (rust-lang/cargo#12751) - Add missing `strip` entries in `dev` and `release` profiles. (rust-lang/cargo#12748) - Add better suggestion for the unsupported silent flag (rust-lang/cargo#12723) - docs(ref): Establish publish best practices (rust-lang/cargo#12745) r? ghost
2023-09-30dont call mir.post_mono_checks in codegenRalf Jung-2/+1
2023-09-30Auto merge of #115933 - oli-obk:simd_shuffle_const, r=workingjubileebors-3/+56
Prototype using const generic for simd_shuffle IDX array cc https://github.com/rust-lang/rust/issues/85229 r? `@workingjubilee` on the design TLDR: there is now a `fn simd_shuffle_generic<T, U, const IDX: &'static [u32]>(x: T, y: T) -> U;` intrinsic that allows replacing ```rust simd_shuffle(a, b, const { stuff }) ``` with ```rust simd_shuffle_generic::<_, _, {&stuff}>(a, b) ``` which makes the compiler implementations much simpler, if we manage to at some point eliminate `simd_shuffle`. There are some issues with this today though (can't do math without bubbling it up in the generic arguments). With this change, we can start porting the simple cases and get better data on the others.
2023-09-30Update cargoWeihang Lo-0/+0
2023-09-30Auto merge of #115368 - loongarch-rs:none-tier2, r=pietroalbinibors-0/+2
Promote loongarch64-unknown-none* to Tier 2 MCP: https://github.com/rust-lang/compiler-team/issues/664
2023-09-29Rollup merge of #116263 - ferrocene:pa-more-bare-metal-fixes, r=oli-obkMatthias Krüger-0/+11
More fixes for running the test suite on a bare metal target This PR adds more fixes needed to run the test suite on bare metal targets (in this case, without unwinding and with static relocations). There is no CI job exercising tests without unwinds, but I can confirm this worked in Ferrocene's CI.
2023-09-29Auto merge of #3093 - eduardosm:llvm.x86.sse2.pmadd.wd, r=RalfJungbors-0/+54
Implement the `llvm.x86.sse2.pmadd.wd` intrinsic
2023-09-29Implement the `llvm.x86.sse2.pmadd.wd` intrinsicEduardo Sánchez Muñoz-0/+54
2023-09-29add needs-relocation-model-pic to compiletestPietro Albini-0/+11
2023-09-29Rollup merge of #116245 - flip1995:clippy-backport, r=ManishearthMatthias Krüger-1/+1
Clippy backport: Move needless_raw_string_hashes to pedantic Really small backport this time. Context: https://github.com/rust-lang/rust-clippy/pull/11415#issuecomment-1739880932 I'd rather get this in 1.74 than waiting another release cycle. r? `@Manishearth` cc `@Mark-Simulacrum` This should be merged before beta is branched tomorrow.
2023-09-29Rollup merge of #116234 - RalfJung:miri, r=RalfJungMatthias Krüger-72/+228
Miri subtree update r? `@ghost`
2023-09-29Rollup merge of #116231 - DaniPopes:simpler-lint-array, r=NilstriebMatthias Krüger-2/+2
Remove `rustc_lint_defs::lint_array`
2023-09-29add FMA test that would fail with apfloatRalf Jung-11/+20
2023-09-29add tests for '%' sign on floatsRalf Jung-0/+10
2023-09-28Reverse postorder instead of using reversed postorderMaybe Waffle-13/+19
2023-09-28Remove `rustc_lint_defs::lint_array`DaniPopes-2/+2
2023-09-28Move needless_raw_string_hashes to pedanticAlex Macleod-1/+1
2023-09-28Auto merge of #3092 - RalfJung:ui-test, r=RalfJungbors-2/+2
update ui_test In particular this includes https://github.com/oli-obk/ui_test/pull/167 :)
2023-09-28update ui_testRalf Jung-2/+2
2023-09-28Auto merge of #114882 - ChrisDenton:riddle-me, r=dtolnaybors-18/+15
Update windows ffi bindings Bump `windows-bindgen` to version 0.51.1. This brings with it some changes to the generated FFI bindings, but little that affects the code. One change that does have more of an impact is `SOCKET` being `usize` instead of either `u64` or `u32` (as is used in std's public `SOCKET` type). However, it's now easy enough to abstract over that difference. Finally I added a few new bindings that are likely to be used in pending PRs, mostly to make sure they're ok with the new metadata. r? libs
2023-09-28Merge from rustcThe Miri Conjob Bot-4/+16