-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup of 11 pull requests #129831
Rollup of 11 pull requests #129831
Commits on Aug 26, 2024
-
tidy: skip revision llvm-components check for run-make tests
Since run-make tests do not support revisions.
Configuration menu - View commit details
-
Copy full SHA for 92b1081 - Browse repository at this point
Copy the full SHA 92b1081View commit details -
tests/run-make: add missing needs-llvm-components
Without suitable `needs-llvm-components` directives, these tests that rely on target-specific codegen can fail if used with a LLVM that is built without the required components.
Configuration menu - View commit details
-
Copy full SHA for beaf9d1 - Browse repository at this point
Copy the full SHA beaf9d1View commit details
Commits on Aug 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2c141a4 - Browse repository at this point
Copy the full SHA 2c141a4View commit details -
Use helper functions to read environment variables
This also migrates from legacy `cargo:` directives to the newer `cargo::` prefix.
Configuration menu - View commit details
-
Copy full SHA for fcce75e - Browse repository at this point
Copy the full SHA fcce75eView commit details -
Remove
InstrProfilingBiasVar.c
from the list of source filesThis file was introduced in LLVM 11, but was then removed in LLVM 13.
Configuration menu - View commit details
-
Copy full SHA for b6dba99 - Browse repository at this point
Copy the full SHA b6dba99View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25ca8a2 - Browse repository at this point
Copy the full SHA 25ca8a2View commit details -
Always include
WindowsMMap.c
in the list of source filesThe whole file is surrounded by `#if defined(_WIN32)`, so there's no need to have separate logic to exclue it from non-Windows builds.
Configuration menu - View commit details
-
Copy full SHA for 842cda6 - Browse repository at this point
Copy the full SHA 842cda6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f90aa5 - Browse repository at this point
Copy the full SHA 7f90aa5View commit details -
Don't skip nonexistent source files
This behaviour was introduced during the upgrade to LLVM 11. Now that the list of source files has been cleaned up, we can reasonably expect _all_ of the listed source files to be present.
Configuration menu - View commit details
-
Copy full SHA for 5b6ff4f - Browse repository at this point
Copy the full SHA 5b6ff4fView commit details -
skip stage 0 target check if
BOOTSTRAP_SKIP_TARGET_SANITY
is setSigned-off-by: onur-ozkan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6ba72c0 - Browse repository at this point
Copy the full SHA 6ba72c0View commit details -
set
BOOTSTRAP_SKIP_TARGET_SANITY
in opt-dist before running testsopt-dist overrides the stage 0 compiler with previously compiled compilers, which can cause confusion in bootstrap's target sanity checks. It is best to skip that check. Signed-off-by: onur-ozkan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1a74371 - Browse repository at this point
Copy the full SHA 1a74371View commit details
Commits on Aug 29, 2024
-
Update the
wasm-component-ld
binary dependencyThis keeps it up-to-date by moving from 0.5.6 to 0.5.7. While here I've additionally updated some other wasm-related dependencies in the workspace to keep them up-to-date and try to avoid duplicate versions as well.
Configuration menu - View commit details
-
Copy full SHA for 99558dc - Browse repository at this point
Copy the full SHA 99558dcView commit details
Commits on Aug 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 355d7c9 - Browse repository at this point
Copy the full SHA 355d7c9View commit details -
enable Miri to pass const pointers through FFI
Co-authored-by: Ralf Jung <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7fde02e - Browse repository at this point
Copy the full SHA 7fde02eView commit details
Commits on Aug 31, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8c19c14 - Browse repository at this point
Copy the full SHA 8c19c14View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd9fcff - Browse repository at this point
Copy the full SHA dd9fcffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 27873f8 - Browse repository at this point
Copy the full SHA 27873f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99e14e3 - Browse repository at this point
Copy the full SHA 99e14e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for bce176d - Browse repository at this point
Copy the full SHA bce176dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e3b1966 - Browse repository at this point
Copy the full SHA e3b1966View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3cec2d6 - Browse repository at this point
Copy the full SHA 3cec2d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 670a78b - Browse repository at this point
Copy the full SHA 670a78bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d728e5 - Browse repository at this point
Copy the full SHA 7d728e5View commit details -
Rollup merge of rust-lang#128523 - cuviper:relnotes-1.81.0, r=Mark-Si…
…mulacrum Add release notes for 1.81.0 cc ``@rust-lang/release`` r? ``@Mark-Simulacrum``
Configuration menu - View commit details
-
Copy full SHA for 71240e4 - Browse repository at this point
Copy the full SHA 71240e4View commit details -
Rollup merge of rust-lang#129605 - jieyouxu:needs-llvm-components, r=…
…Mark-Simulacrum Add missing `needs-llvm-components` directives for run-make tests that need target-specific codegen Without suitable `needs-llvm-components` directives, some run-make tests exercising target-specific codegen can fail if the LLVM used is built without the necessary components. Currently, the list is: ``` tests\run-make\print-target-list tests\run-make\print-to-output tests\run-make\print-cfg tests\run-make\target-without-atomic-cas ``` This PR also skips tidy checks for revisions and `needs-llvm-components` for run-make tests since revisions are not supported. Fixes rust-lang#129390. Fixes rust-lang#127895. cc ``@petrochenkov`` who noticed this, thanks! Would be great if you could confirm that this fixes the test errors for you locally.
Configuration menu - View commit details
-
Copy full SHA for d354d4d - Browse repository at this point
Copy the full SHA d354d4dView commit details -
Rollup merge of rust-lang#129650 - Zalathar:profiler-builtins, r=Mark…
…-Simulacrum Clean up `library/profiler_builtins/build.rs` This PR makes a series of improvements to the long-neglected build script for `profiler_builtins`. Most notably: - The logic that silently skips missing source files has been removed, since it is currently unnecessary and makes build errors more confusing. - The script now emits `cargo::rerun-if-changed` directives for the `compiler-rt` source and include directories. Compiler behaviour and user programs should be unaffected by these changes.
Configuration menu - View commit details
-
Copy full SHA for 6a96e7a - Browse repository at this point
Copy the full SHA 6a96e7aView commit details -
Rollup merge of rust-lang#129651 - onur-ozkan:stage0-target-sanity-ch…
…eck, r=Kobzol skip stage 0 target check if `BOOTSTRAP_SKIP_TARGET_SANITY` is set When adding a new target to `rustc` and extending `STAGE0_MISSING_TARGETS`, there is a chance that in the merge CI bootstrap target sanity check might fail [here](https://github.com/rust-lang/rust/blob/26d27b7c8729fb61fe8321fcd2ce734a79aa695d/src/bootstrap/src/core/sanity.rs#L243-L256) because the stage 0 compiler will assume to already support the new target since `opt-dist` uses the previously compiled compiler as the stage 0 compiler. This PR skips this check if `BOOTSTRAP_SKIP_TARGET_SANITY` is set, and makes `opt-dist` to set `BOOTSTRAP_SKIP_TARGET_SANITY` so bootstrap doesn't run this logic for opt-dist tests. Fixes rust-lang#127021 (comment). Zulip thread: https://rust-lang.zulipchat.com/#narrow/stream/326414-t-infra.2Fbootstrap/topic/.60STAGE0_MISSING_TARGETS.60.20seems.20to.20check.20stage1 Blocker for rust-lang#127021
Configuration menu - View commit details
-
Copy full SHA for e3795af - Browse repository at this point
Copy the full SHA e3795afView commit details -
Rollup merge of rust-lang#129684 - Strophox:miri-pass-pointer-to-ffi,…
… r=RalfJung Enable Miri to pass pointers through FFI Following rust-lang#126787, the purpose of this PR is to now enable Miri to execute native calls that make use of pointers. > <details> > > <summary> Simple example </summary> > > ```rust > extern "C" { > fn ptr_printer(ptr: *mut i32); > } > > fn main() { > let ptr = &mut 42 as *mut i32; > unsafe { > ptr_printer(ptr); > } > } > ``` > ```c > void ptr_printer(int *ptr) { > printf("printing pointer dereference from C: %d\n", *ptr); > } > ``` > should now show `printing pointer dereference from C: 42`. > > </details> Note that this PR does not yet implement any logic involved in updating Miri's "analysis" state (byte initialization, provenance) upon such a native call. r? ``@RalfJung``
Configuration menu - View commit details
-
Copy full SHA for a5fb8b9 - Browse repository at this point
Copy the full SHA a5fb8b9View commit details -
Rollup merge of rust-lang#129762 - alexcrichton:update-wasm-component…
…-ld, r=jieyouxu Update the `wasm-component-ld` binary dependency This keeps it up-to-date by moving from 0.5.6 to 0.5.7. While here I've additionally updated some other wasm-related dependencies in the workspace to keep them up-to-date and try to avoid duplicate versions as well.
Configuration menu - View commit details
-
Copy full SHA for 0afda15 - Browse repository at this point
Copy the full SHA 0afda15View commit details -
Rollup merge of rust-lang#129782 - matthiaskrgr:c, r=jieyouxu
couple more crash tests r? ```@jieyouxu```
Configuration menu - View commit details
-
Copy full SHA for 1e0cc8b - Browse repository at this point
Copy the full SHA 1e0cc8bView commit details -
Rollup merge of rust-lang#129816 - RalfJung:tidy-feature-issue-mismat…
…ch, r=compiler-errors tidy: say which feature gate has a stability issue mismatch This gives some valuable context to what the error is actually about :)
Configuration menu - View commit details
-
Copy full SHA for 08b813b - Browse repository at this point
Copy the full SHA 08b813bView commit details -
Rollup merge of rust-lang#129818 - RalfJung:const-stability, r=compil…
…er-errors make the const-unstable-in-stable error more clear The default should be to add `rustc_const_unstable`, not `rustc_allow_const_fn_unstable`. Also I discovered our check for missing const stability attributes on stable functions -- but strangely that check only kicks in for "reachable" functions. `check_missing_stability` checks for reachability since all reachable functions must have a stability attribute, but I would say if a function has `#[stable]` it should also have const-stability attributes regardless of reachability.
Configuration menu - View commit details
-
Copy full SHA for b8b2a65 - Browse repository at this point
Copy the full SHA b8b2a65View commit details -
Rollup merge of rust-lang#129824 - GuillaumeGomez:code-example-button…
…s-mobile, r=notriddle Fix code examples buttons not appearing on click on mobile When browsing docs on mobile today, I realized that the buttons didn't appear when I tapped on the code example. One issue: I have no idea how to add a regression test for this case... r? ``@notriddle``
Configuration menu - View commit details
-
Copy full SHA for 828f7c8 - Browse repository at this point
Copy the full SHA 828f7c8View commit details -
Rollup merge of rust-lang#129826 - Alcaro:patch-1, r=workingjubilee
library: Fix typo in `core::mem` This typo looks unnecessary
Configuration menu - View commit details
-
Copy full SHA for 4151fd4 - Browse repository at this point
Copy the full SHA 4151fd4View commit details