about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2024-08-10update suggested RA config; the './miri cargo' command is not needed any moreRalf Jung-21/+6
2024-08-10miri-script: use --remap-path-prefix to print errors relative to the right rootRalf Jung-75/+92
2024-08-10Fixes in various placesNadrieril-4/+10
2024-08-10Auto merge of #3795 - tiif:ice-layout-limit, r=RalfJungbors-3/+68
throw_unsup_format for alignment greater than 2^29 Fixes #3687
2024-08-10fix: Fix find_path not respecting non-std preference config correctlyLukas Wirth-104/+124
2024-08-10feat: Implement TAITShoyu Vanilla-188/+288
2024-08-10Avoid the overhead of select! when possiblemo8it-3/+6
2024-08-09Add a FIXME to the changed Miri testBen Kimock-0/+2
2024-08-09Bless MiriBen Kimock-3/+5
2024-08-09Paper over the clippy ICEBen Kimock-5/+4
2024-08-09Polymorphize RawVecBen Kimock-5/+12
2024-08-10Use select_biasedmo8it-7/+8
2024-08-09Auto merge of #125642 - khuey:zstd, r=Kobzolbors-4/+57
Enable zstd for debug compression. Set LLVM_ENABLE_ZSTD alongside LLVM_ENABLE_ZLIB so that --compress-debug-sections=zstd is an option. See #120953 try-job: x86_64-gnu-tools
2024-08-10Simplify `check_command` while avoiding allocationsmo8it-26/+24
2024-08-09Remove unneeded `send` methodmo8it-32/+28
2024-08-09Use crossbeam-channel from the workspacemo8it-13/+13
2024-08-09Use Sender instead of boxed closure in vfsmo8it-31/+38
2024-08-09Use Sender directly instead of a boxed closuremo8it-7/+6
2024-08-09Auto merge of #128896 - bjorn3:sync_cg_clif-2024-08-09, r=bjorn3bors-0/+2
Subtree sync for rustc_codegen_cranelift The main highlight this time is support for raw-dylib on Windows thanks to `@dpaoliello.` Compiling the ring crate for arm64 macOS has been fixed too. r? `@ghost` `@rustbot` label +A-codegen +A-cranelift +T-compiler
2024-08-09rustdoc-json-types `Discriminant`: fix typokraktus-1/+1
"when to complex" should obviously be "too complex"
2024-08-09Remove `feature=cargo-clippy` argumentxFrednet-2/+0
As announced <https://blog.rust-lang.org/2024/02/28/Clippy-deprecating-feature-cargo-clippy.html>
2024-08-09Update tidy for new cranelift-bitset cratebjorn3-0/+2
2024-08-09Rollup merge of #128874 - Kobzol:cmd-verbose-logging, r=onur-ozkanMatthias Krüger-5/+14
Disable verbose bootstrap command failure logging by default One of my recent bootstrap command refactoring PRs enabled verbose logging of command failures by default. While this is great for debugging bootstrap, in many situations it's just too verbose and prevents the user from seeing the actual printed stdout/stderr, which usually contains much more useful information. This PR reverts that logic, and only prints a detailed error when `-v` is passed to bootstrap. r? ````@onur-ozkan````
2024-08-09Rollup merge of #128838 - notriddle:notriddle/invalid-tag-is-not-rust, ↵Matthias Krüger-7/+19
r=GuillaumeGomez rustdoc: do not run doctests with invalid langstrings https://github.com/rust-lang/rust/pull/124577#issuecomment-2276034737 CC ``@decathorpe``
2024-08-09Rollup merge of #128822 - onur-ozkan:add-build-config-in-tarballs, r=KobzolMatthias Krüger-1/+11
add `builder-config` into tarball sources This will be useful for certain scenarios where developers want to know how the tarball sources were generated. We also want this to check for CI rustc incompatible options on bootstrap. Blocker for #122709 r? Kobzol
2024-08-09Rollup merge of #128817 - biabbas:vxworks_update, r=tgross35Matthias Krüger-6/+8
VxWorks code refactored 1. Extern TaskNameSet as minimum supported version of os is VxWorks 7 which would have taskNameSet 2. Vx_TASK_NAME_LEN is 31 on VxWorks7, defined variable res. 3. Add unsafe blocks on Non::Zero usage in available_parallelism() 4. Update vxworks docs. r? `@tgross35` cc `@devnexen`
2024-08-09Pass `Flags` to `Config::parse` explicitlyJakub Beránek-19/+24
2024-08-09Move verbose help parsing to `main`Jakub Beránek-10/+24
To remove a side effect (process exit) when parsing config.
2024-08-09Do not print verbose error when a bootstrap command fails without verbose modeJakub Beránek-4/+12
2024-08-09Install zstd in dist builder image.Kyle Huey-0/+33
Build libzstd from source because the EPEL package is built without fPIC.
2024-08-09Add zlib and zstd dev packages for building lld.Kyle Huey-0/+2
2024-08-09Enable zstd for debug compression.Kyle Huey-4/+22
Set LLVM_ENABLE_ZSTD alongside LLVM_ENABLE_ZLIB so that --compress-debug-sections=zstd is an option. Use static linking to avoid a new runtime dependency. Add an llvm.libzstd bootstrap option for LLVM with zstd. Set it off by default except for the dist builder. Handle llvm-config --system-libs output that contains static libraries.
2024-08-09Auto merge of #128703 - compiler-errors:normalizing-tails, r=lcnrbors-1/+1
Miscellaneous improvements to struct tail normalization 1. Make checks for foreign tails more accurate by normalizing the struct tail. I didn't write a test for this one. 2. Normalize when computing struct tail for `offset_of` for slice/str. This fixes the new solver only. 3. Normalizing when computing tails for disaligned reference check. This fixes both solvers. r? lcnr
2024-08-09unconditionally allow shadow call-stack for AArch64 whenever fixed-x18 is ↵Ding Xiang Fei-1/+15
applied
2024-08-09impl compare command and benchmark command to rustc-perf-wrappershina-35/+81
2024-08-09Add windows-targets crate to std's sysrootChris Denton-1/+1
2024-08-09Make `Build::run` comment more accurateJakub Beránek-1/+2
2024-08-09don't try to find target tools on certain commandsonur-ozkan-9/+23
For commands like check/clean there is no need to check for target tools. Avoiding this check can also speed up the process. Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-08-09call `Cargo::configure_linker` only for specific commandsonur-ozkan-1/+9
Calling `Cargo::configure_linker` unconditionally slows down certain commands (e.g., "check" command) without providing any benefit. Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-08-09do not make function addresses unique with ↵Ralf Jung-14/+20
cross_crate_inline_threshold=always (even if that breaks backtraces)
2024-08-09miri_print_borrow_state: show error when AllocId is invalidRalf Jung-2/+6
2024-08-09use absolute path for `config.toml`onur-ozkan-1/+5
Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-08-09add `builder-config` into tarball sourcesonur-ozkan-0/+6
This will be useful for certain scenarios where developers want to know how the tarball sources were generated. We also want this to check for CI rustc incompatible options on bootstrap. Signed-off-by: onur-ozkan <work@onurozkan.dev>
2024-08-08Review commentsAlex Crichton-6/+6
2024-08-09Shrink `TyKind::FnPtr`.Nicholas Nethercote-15/+15
By splitting the `FnSig` within `TyKind::FnPtr` into `FnSigTys` and `FnHeader`, which can be packed more efficiently. This reduces the size of the hot `TyKind` type from 32 bytes to 24 bytes on 64-bit platforms. This reduces peak memory usage by a few percent on some benchmarks. It also reduces cache misses and page faults similarly, though this doesn't translate to clear cycles or wall-time improvements on CI.
2024-08-09throw_unsup_format for alignment greater than 2^29 and refactor ↵tiif-3/+68
non-power-of-two alignment check
2024-08-08Don't panic on `miri_print_borrow_state()` under ↵Zachary S-1/+5
`-Zmiri-disable-stacked-borrows`.
2024-08-09Auto merge of #128853 - matthiaskrgr:rollup-pr222x1, r=matthiaskrgrbors-4020/+5589
Rollup of 8 pull requests Successful merges: - #128640 (rwlock: disable 'frob' test in Miri on macOS) - #128791 (Don't implement `AsyncFn` for `FnDef`/`FnPtr` that wouldnt implement `Fn`) - #128806 (Split `ColorConfig` off of `HumanReadableErrorType`) - #128818 (std float tests: special-case Miri in feature detection) - #128834 (rustdoc: strip unreachable modules) - #128836 (rustdoc-json: add a test for impls on private & hidden types) - #128837 (Clippy subtree update) - #128851 (Add comment that bors did not see pushed before it merged) r? `@ghost` `@rustbot` modify labels: rollup
2024-08-09Rollup merge of #128837 - flip1995:clippy-subtree-update, r=ManishearthMatthias Krüger-4012/+5572
Clippy subtree update r? ``@Manishearth`` Updates Cargo.lock due to uitest bump
2024-08-09Rollup merge of #128834 - its-the-shrimp:fix_101105, r=aDotInTheVoidMatthias Krüger-1/+8
rustdoc: strip unreachable modules Modules are now stripped based on the same logic that's used to strip other item kinds Fixes #101105