about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2023-09-26Don't store lazyness in DefKindMichael Goulet-9/+9
2023-09-25Auto merge of #116084 - fmease:rustdoc-fix-x-crate-async-fn, r=GuillaumeGomezbors-30/+35
rustdoc: correctly render the return type of cross-crate async fns Fixes #115760.
2023-09-25Update booksrustbot-0/+0
2023-09-25Auto merge of #3085 - RalfJung:test-norm, r=RalfJungbors-5/+33
fix normalization in backtrace-api tests also remove a normalization rule that doesn't seem to apply
2023-09-25Fix typo in rustdoc unstable features docDaniPopes-1/+1
2023-09-25Fix whitespace in rustdoc type_layout.htmlDaniPopes-2/+2
2023-09-25Auto merge of #3083 - saethlin:gc-history, r=oli-obkbors-0/+27
GC the Stacked Borrows allocation history This handles the biggest contributor to https://github.com/rust-lang/miri/issues/3080 The benchmark that this adds demonstrates the memory improvement here, but our benchmark setup doesn't record memory usage, and `hyperfine` doesn't support emitting memory usage stats. I ran this benchmark manually with `/usr/bin/time -v cargo +miri miri run` :shrug:
2023-09-25Auto merge of #116147 - compiler-errors:jq, r=dtolnaybors-1/+1
Fix jq in CI r? `@Mark-Simulacrum`
2023-09-25Split out the stable part of smir into its own crate to prevent accidental ↵Oli Scherer-1/+4
usage of forever unstable things
2023-09-25Fix jq in CIMichael Goulet-1/+1
2023-09-25rustdoc: correctly render ret ty of cross-crate async fnsLeón Orell Valerian Liehr-30/+35
2023-09-25fix normalization in backtrace-api testsRalf Jung-5/+33
also remove a normalization rule that doesn't seem to apply
2023-09-25Show enum variant value if it is a C-like variantGuillaume Gomez-18/+47
2023-09-25Add colored helpblyxyas-54/+64
2023-09-25Auto merge of #3008 - oli-obk:ui_test_progress_bars, r=RalfJungbors-64/+165
bump ui test crate The recommended way to run tests locally is `./miri bless -- -- --quiet`, which will show * progress bars * the currently running tests (allowing you to see which ones are still running towards the end of the test suite) * the output of the currently running tests (if they are slow). This means slow running tests can output lines to `stderr` and the last line will be shown after the test name and updated every few hundred milliseconds. As a side effect this PR also fixes #2998 and only builds dependencies if any tests actually need them (this means that with the next ui_test update we'll be able to merge all our test suites). Also fixes https://github.com/rust-lang/miri/issues/3052.
2023-09-25Explain single element vectorOli Scherer-0/+2
2023-09-25Document new env varOli Scherer-0/+2
2023-09-25Auto merge of #116029 - chenx97:mipsr6-update-crates, r=Mark-Simulacrumbors-1/+0
Update crates for better MIPS R6 support Update crates to remove dependency on old versions of rustix and linux-raw-sys. Update libc, rustix, and linux-raw-sys to enhance support for MIPS R6 introduced by #112374 Commands that do the update: ```shell cargo +nightly update tempfile clap cargo +nightly update linux-raw-sys rustix ```
2023-09-25Merge commit '7671c283a50b5d1168841f3014b14000f01dd204' into clippyupPhilipp Krones-2312/+3995
2023-09-25Auto merge of #116138 - RalfJung:miri, r=RalfJungbors-2069/+3199
Miri subtree update r? `@ghost`
2023-09-25remove some dead codeRalf Jung-51/+1
and add a comment in the AVX test
2023-09-25Auto merge of #3075 - eduardosm:x86-addcarry-subborrow, r=RalfJungbors-1789/+1948
Move `llvm.x86.*` shims into `shims::x86` and implement `_addcarry_u32` and `_subborrow_u{32,64}` This PR moves all `llvm.x86.*` shims into `shims::x86` and adds `llvm.x86.addcarry.32`, `llvm.x86.subborrow.32` and `llvm.x86.subborrow.64`. Additionally, it fixes the input carry semantics of `llvm.x86.addcarry.32`. The input carry is an 8-bit value that is interpreted as 1 when it is non-zero. https://www.intel.com/content/www/us/en/docs/cpp-compiler/developer-guide-reference/2021-8/addcarry-u32-addcarry-u64.html
2023-09-25Use `cfg` gates in x86 SSE and SSE2 testsEduardo Sánchez Muñoz-1752/+1762
2023-09-25Implement `llvm.x86.subborrow.32` and `llvm.x86.subborrow.64`Eduardo Sánchez Muñoz-0/+68
2023-09-25Fix the carry semantics of `_addcarry_u32` and `_addcarry_u64`Eduardo Sánchez Muñoz-8/+21
The input carry is an 8-bit value that is interpreted as 1 when it is non-zero. The output carry is an 8-bit value that will be 0 or 1. https://www.intel.com/content/www/us/en/docs/cpp-compiler/developer-guide-reference/2021-8/addcarry-u32-addcarry-u64.html
2023-09-25Implement `llvm.x86.addcarry.32` by refactoring `llvm.x86.addcarry.64` to ↵Eduardo Sánchez Muñoz-16/+45
make it generic
2023-09-25Move `llvm.x86.*` implementations into `shims::x86`Eduardo Sánchez Muñoz-36/+75
2023-09-25ref(bootstrap.py): add `eprint` functionPouriya Jahanbakhsh-49/+41
just like `print` but for `stderr`
2023-09-25add sanity checks for user write access on `x install`onur-ozkan-0/+31
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2023-09-24GC the Stacked Borrows allocation historyBen Kimock-0/+27
2023-09-24tidy: remove io-lifetimes from the dependency listchenx97-1/+0
2023-09-24Put AVX512 tests togetherEduardo Sánchez Muñoz-126/+85
2023-09-24Auto merge of #105861 - Ayush1325:uefi-std-minimial, r=workingjubileebors-7/+80
Add Minimal Std implementation for UEFI # Implemented modules: 1. alloc 2. os_str 3. env 4. math # Related Links Tracking Issue: https://github.com/rust-lang/rust/issues/100499 API Change Proposal: https://github.com/rust-lang/libs-team/issues/87 # Additional Information This was originally part of https://github.com/rust-lang/rust/pull/100316. Since that PR was becoming too unwieldy and cluttered, and with suggestion from `@dvdhrm,` I have extracted a minimal std implementation to this PR. The example in `src/doc/rustc/src/platform-support/unknown-uefi.md` has been tested for `x86_64-unknown-uefi` and `i686-unknown-uefi` in OVMF. It would be great if someone more familiar with AARCH64 can help with testing for that target. Signed-off-by: Ayush Singh <ayushsingh1325@gmail.com>
2023-09-24Complete miri test.Camille GILLOT-3/+16
2023-09-24Do not assume anything about repeated reification of generic functions.Camille GILLOT-1/+0
2023-09-24fmtThe Miri Conjob Bot-2/+2
2023-09-24Merge from rustcThe Miri Conjob Bot-214/+131
2023-09-24Preparing for merge from rustcThe Miri Conjob Bot-1/+1
2023-09-24Auto merge of #104385 - BlackHoleFox:apple-minimum-bumps, r=petrochenkovbors-17/+8
Raise minimum supported Apple OS versions This implements the proposal to raise the minimum supported Apple OS versions as laid out in the now-completed MCP (https://github.com/rust-lang/compiler-team/issues/556). As of this PR, rustc and the stdlib now support these versions as the baseline: - macOS: 10.12 Sierra - iOS: 10 - tvOS: 10 - watchOS: 5 (Unchanged) In addition to everything this breaks indirectly, these changes also erase the `armv7-apple-ios` target (currently tier 3) because the oldest supported iOS device now uses ARMv7s. Not sure what the policy around tier3 target removal is but shimming it is not an option due to the linker refusing. [Per comment](https://github.com/rust-lang/compiler-team/issues/556#issuecomment-1297175073), this requires a FCP to merge. cc `@wesleywiser.`
2023-09-23Raise minimum supported iOS version to 10.0BlackHoleFox-10/+1
Drop the armv7-apple-ios target too because its no longer supported with the hardware iOS 10 requires.
2023-09-23Raise minimum supported macOS to 10.12BlackHoleFox-7/+7
2023-09-23Pass `-jN` from Make to `BOOTSTRAP_ARGS`onur-ozkan-0/+7
Enables the same functionality as `x -jN` in Make by passing the `-jN` arg from Make to the `BOOTSTRAP_ARGS` args if it is specified. Signed-off-by: onur-ozkan <work@onurozkan.dev>
2023-09-23Remove GeneratorWitness and rename GeneratorWitnessMIR.Camille GILLOT-4/+1
2023-09-23Bless clippy.Camille GILLOT-166/+87
2023-09-23Enable drop_tracking_mir by default.Camille GILLOT-18/+25
2023-09-23Merge from rustcThe Miri Conjob Bot-30/+32
2023-09-23Preparing for merge from rustcThe Miri Conjob Bot-1/+1
2023-09-23Auto merge of #116052 - oli-obk:ceci_nest_pas_une_query, r=WaffleLapkinbors-9/+10
Add a way to decouple the implementation and the declaration of a TyCtxt method. properly addresses https://github.com/rust-lang/rust/pull/115819 accepted MCP: https://github.com/rust-lang/compiler-team/issues/395
2023-09-23Auto merge of #116066 - weihanglo:update-cargo, r=weihanglobors-0/+0
Update cargo 19 commits in b4ddf95ad9954118ac0dae835f2966394ad04c02..414d9e3a6d8096f3e276234ce220c868767a8792 2023-09-18 03:48:09 +0000 to 2023-09-22 07:03:57 +0000 - refactor(TomlManifest): fail when package_root is not a directory (rust-lang/cargo#12722) - Better suggestion for unsupported mode in build command (rust-lang/cargo#12693) - Update curl-sys to pull in curl 8.3.0 (rust-lang/cargo#12718) - chore(ci): Ignore patch version in MSRV (rust-lang/cargo#12716) - refactor: move cached crates.io SourceID to config module (rust-lang/cargo#12711) - fix: typos in registry authentication documentation (rust-lang/cargo#12714) - doc: mention unstable flag `-Z asymmetric-token` (rust-lang/cargo#12712) - fix: copy PDBs for EFI targets (rust-lang/cargo#12688) - infra: add auto-trigger rules for new labels (rust-lang/cargo#12713) - fix: use channel-specific link for registry auth error (rust-lang/cargo#12709) - Add some enhancements to `cargo clean` (rust-lang/cargo#12638) - chore: Fix typos (rust-lang/cargo#12707) - Shortest path (rust-lang/cargo#12678) - doc/reference/manifest: Adjust `keywords` description (rust-lang/cargo#12705) - Cargo add displays either feature list or summarized count (rust-lang/cargo#12702) - SemVer: Update documentation about removing optional dependencies (rust-lang/cargo#12687) - publish.py: Remove obsolete `sleep()` calls (rust-lang/cargo#12686) - generalise suggestion on abiguous spec (rust-lang/cargo#12685) - util/toml: Remove duplicate `serde(rename)` attributes (rust-lang/cargo#12682) r? ghost
2023-09-23Auto merge of #3072 - eduardosm:llvm.ctpop, r=saethlinbors-0/+280
Implement `llvm.ctpop.v*` intrinsics Tested through x86 avx512vpopcntdq and avx512bitalg functions. I picked them from https://github.com/rust-lang/miri/issues/2057#issuecomment-1716309674, which looked easy.