about summary refs log tree commit diff
path: root/src/tools
AgeCommit message (Collapse)AuthorLines
2022-12-21Fix phrasingBen Kimock-28/+28
2022-12-21Clean up implementation, deduplicate in errorsBen Kimock-255/+103
2022-12-21Don't run `Drop` terminators on types that do not have drop glue in const evalJakob Degen-2/+2
2022-12-22Rollup merge of #105986 - eltociear:patch-18, r=RalfJungYuki Okushi-1/+1
Fix typo in reading_half_a_pointer.rs gurantee -> guarantee
2022-12-22Rollup merge of #105602 - RalfJung:read-convenience, r=oli-obkYuki Okushi-54/+54
interpret: add read_machine_[ui]size convenience methods We have `read_pointer`, so it felt inconsistent to not also have these. r? ```@oli-obk```
2022-12-21Bless testsJakob Degen-4/+4
2022-12-21Retag argument to `drop_in_place` unconditionallyJakob Degen-19/+5
2022-12-21Retag as FnEntry on `drop_in_place`Jakob Degen-0/+160
2022-12-21update josh onstructionsRalf Jung-6/+6
2022-12-21Fix typo in reading_half_a_pointer.rsIkko Ashimine-1/+1
gurantee -> guarantee
2022-12-20Re-enable the VClock ordering testsBen Kimock-6/+5
2022-12-20Fix span managementBen Kimock-53/+42
2022-12-20Rollup merge of #105935 - Ezrashaw:add-test+docs-for-e0377, r=GuillaumeGomezMatthias Krüger-2/+2
docs/test: add UI test and long-form error docs for `E0377`
2022-12-20docs/test: add UI test and long-form error docs for `E0377`Ezra Shaw-2/+2
2022-12-19Make Clippy test no longer unsoundMichael Goulet-1/+1
2022-12-18Update cargoWeihang Lo-0/+0
11 commits in cc0a320879c17207bbfb96b5d778e28a2c62030d..c994a4a638370bc7e0ffcbb0e2865afdfa7d4415 2022-12-14 14:46:57 +0000 to 2022-12-18 21:50:58 +0000 - Fix examples of proc-macro crates being scraped for examples (rust-lang/cargo#11497) - Enable triagebot's relabel functionality (rust-lang/cargo#11498) - Revert "temporarily disable test `lto::test_profile`" (rust-lang/cargo#11495) - Bump to 0.69.0, update changelog (rust-lang/cargo#11493) - Fix typo (rust-lang/cargo#11491) - Display CPU info in CI (rust-lang/cargo#11488) - Fix collision_doc_profile test error (rust-lang/cargo#11489) - fix: Make auto-fix note work with `clippy` (rust-lang/cargo#11399) - fix(add): use the possessive in error message (rust-lang/cargo#11483) - Document home crate in contrib docs (rust-lang/cargo#11481) - Split up registry documentation into multiple sections (rust-lang/cargo#11480)
2022-12-18Make x use the x and x.ps1 scriptsAlbert Larsan-40/+32
This removes another python search from bootstrap.
2022-12-17Auto merge of #105849 - matthiaskrgr:rollup-ya4s1n2, r=matthiaskrgrbors-30/+51
Rollup of 8 pull requests Successful merges: - #104854 (Symlink `build/host` -> `build/$HOST_TRIPLE`) - #105458 (Allow blocking `Command::output`) - #105559 (bootstrap: Allow installing `llvm-tools`) - #105789 (rustdoc: clean up margin CSS for scraped examples) - #105792 (docs: add long error explanation for error E0320) - #105814 (Support call and drop terminators in custom mir) - #105829 (Speed up tidy) - #105836 (std::fmt: Use args directly in example code) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
2022-12-17Rollup merge of #105829 - the8472:tidy-style, r=jyn514Matthias Krüger-30/+51
Speed up tidy This can be reviewed commit by commit since they contain separate optimizations. ``` # master $ taskset -c 0-5 hyperfine './x test tidy' Benchmark #1: ./x test tidy Time (mean ± σ): 4.857 s ± 0.064 s [User: 12.967 s, System: 2.014 s] Range (min … max): 4.779 s … 4.997 s 10 runs # PR $ taskset -c 0-5 hyperfine './x test tidy' Benchmark #1: ./x test tidy Time (mean ± σ): 3.672 s ± 0.035 s [User: 10.524 s, System: 2.029 s] Range (min … max): 3.610 s … 3.725 s 10 runs ```
2022-12-17Auto merge of #105145 - Ayush1325:sequential-remote-server, r=Mark-Simulacrumbors-13/+36
Add batch flag to remote-test-server When using this flag, the stdout and stderr are sent in a single batch instead of being streamed. It also used `Command::output` instead of `Command::spawn`. This is useful for targets that might support std but not threading (Eg: UEFI). Signed-off-by: Ayush Singh <ayushsingh1325@gmail.com>
2022-12-17poll tidy threads for completion before waitingThe 8472-6/+16
2022-12-17optimize line-by-line style checks in tidyThe 8472-24/+35
2022-12-17Merge commit '4bdfb0741dbcecd5279a2635c3280726db0604b5' into clippyupPhilipp Krones-602/+2707
2022-12-16Include a Span in VClockBen Kimock-89/+532
2022-12-16fmtRalf Jung-2/+2
2022-12-16Merge from rustcRalf Jung-47/+79
2022-12-16Preparing for merge from rustcRalf Jung-1/+1
2022-12-15Rollup merge of #105743 - nnethercote:SimplifiedType-cleanups, r=lcnrMatthias Krüger-1/+1
`SimplifiedType` cleanups r? `@lcnr`
2022-12-15Move alignment failure error reporting to machineOli Scherer-1/+10
2022-12-15Make alignment checks a future incompat lintOli Scherer-2/+7
2022-12-15Auto merge of #105713 - bjorn3:sync_cg_clif-2022-12-14, r=bjorn3bors-0/+6
Sync rustc_codegen_cranelift This time there are a bunch of bugfixes, some new llvm intrinsic implementations and refactorings to the build system in preparation for running cg_clif tests as part of `./x.py test`. r? `@ghost` `@rustbot` label +A-codegen +A-cranelift +T-compiler
2022-12-15Auto merge of #105657 - oli-obk:mk_projection_ty, r=lcnrbors-10/+10
Guard ProjectionTy creation against passing the wrong number of substs r? `@lcnr`
2022-12-15Merge `SimplifiedTypeGen<D>` into `SimplifiedType`.Nicholas Nethercote-1/+1
`SimplifiedTypeGen<DefId>` is the only instantiation used, so we don't need the generic parameter.
2022-12-14Add tidy exceptionsbjorn3-0/+6
2022-12-14Update cargoWeihang Lo-0/+0
8 commits in 70898e522116f6c23971e2a554b2dc85fd4c84cd..cc0a320879c17207bbfb96b5d778e28a2c62030d 2022-12-05 19:43:44 +0000 to 2022-12-14 14:46:57 +0000 - artifact deps should works when target field specified coexists with `optional = true` (rust-lang/cargo#11434) - Add `home` crate to cargo crates (rust-lang/cargo#11359) - Use proper git URL for GitHub repos (rust-lang/cargo#11475) - Fixes flock(fd, LOCK_UN) emulation on Solaris. (rust-lang/cargo#11474) - Allow Check targets needed for optional doc-scraping to fail without killing the build (rust-lang/cargo#11450) - fix: gleaning rustdocflags from `target.cfg(…)` is not supported (rust-lang/cargo#11323) - Fix typo (rust-lang/cargo#11470) - resolver.md: Fix naming in example (rust-lang/cargo#11469)
2022-12-14Remove TraitRef::newOli Scherer-3/+3
2022-12-14Ensure no one constructs `AliasTy`s themselvesOli Scherer-7/+7
2022-12-14Auto merge of #104986 - compiler-errors:opaques, r=oli-obkbors-27/+27
Combine `ty::Projection` and `ty::Opaque` into `ty::Alias` Implements https://github.com/rust-lang/types-team/issues/79. This PR consolidates `ty::Projection` and `ty::Opaque` into a single `ty::Alias`, with an `AliasKind` and `AliasTy` type (renamed from `ty::ProjectionTy`, which is the inner data of `ty::Projection`) defined as so: ``` enum AliasKind { Projection, Opaque, } struct AliasTy<'tcx> { def_id: DefId, substs: SubstsRef<'tcx>, } ``` Since we don't have access to `TyCtxt` in type flags computation, and because repeatedly calling `DefKind` on the def-id is expensive, these two types are distinguished with `ty::AliasKind`, conveniently glob-imported into `ty::{Projection, Opaque}`. For example: ```diff match ty.kind() { - ty::Opaque(..) => + ty::Alias(ty::Opaque, ..) => {} _ => {} } ``` This PR also consolidates match arms that treated `ty::Opaque` and `ty::Projection` identically. r? `@ghost`
2022-12-13implement minimal epoll_create1 shimDebugSteven-41/+377
2022-12-13Combine projection and opaque into aliasMichael Goulet-12/+12
2022-12-13squash OpaqueTy and ProjectionTy into AliasTyMichael Goulet-11/+11
2022-12-13ProjectionTy.item_def_id -> ProjectionTy.def_idMichael Goulet-8/+8
2022-12-13Use ty::OpaqueTy everywhereMichael Goulet-7/+7
2022-12-13Make some diagnostics not depend on the source of what they reference being ↵Oli Scherer-0/+8
available
2022-12-12Auto merge of #2725 - RalfJung:host-to-target-path, r=RalfJungbors-71/+228
make unix path handling on Windows hosts (and vice versa) preserve absoluteness Also adds a magic Miri extern function so this conversion can be invoked by the program. That avoids having to duplicate that logic.
2022-12-12Windows targets: make sure current_dir is absoluteRalf Jung-12/+33
2022-12-12interpret: add read_machine_[ui]size convenience methodsRalf Jung-54/+54
2022-12-12make unix path handling on Windows hosts preserve absolutenessRalf Jung-33/+119
2022-12-12More host/target path conversion tests:Ralf Jung-1/+9
- test that the tmpdir Miri tests see is absolute and a directory - test that current_dir returns an absolute path
2022-12-12expose host-to-target path conversion to interpreted programRalf Jung-39/+81