-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 9 pull requests #126870
Rollup of 9 pull requests #126870
Commits on Jun 10, 2024
-
Revert "Update
rustc-perf
submodule before running tidy"This reverts commit faac70b.
Configuration menu - View commit details
-
Copy full SHA for dd50e18 - Browse repository at this point
Copy the full SHA dd50e18View commit details
Commits on Jun 17, 2024
-
tidy: skip submodules if not present for non-CI environments
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Configuration menu - View commit details
-
Copy full SHA for e9e3c38 - Browse repository at this point
Copy the full SHA e9e3c38View commit details -
Update outdated README in build-manifest.
I believe this was changed a while ago in rust-lang/promote-release#14.
Configuration menu - View commit details
-
Copy full SHA for 455e2f9 - Browse repository at this point
Copy the full SHA 455e2f9View commit details
Commits on Jun 18, 2024
-
replace
remove_dir
withremove_dir_all
inhelpers::symlink_dir
When using `symlink_dir`, it first removes the existing link with `remove_dir`. However, if the path isn't a link and contains files, `remove_dir` fails with "DirectoryNotEmpty", which causes the symbolic linking to fail as well. We have this problem on linking 'rustlib/rust' because it contains files as an actual directory. Signed-off-by: onur-ozkan <work@onurozkan.dev>
Configuration menu - View commit details
-
Copy full SHA for f76c3b7 - Browse repository at this point
Copy the full SHA f76c3b7View commit details -
make codegen-backend config warning less noisy
If `codegen-backends` is missing "cranelift" and "gcc" (which is common), bootstrap will now only show this warning during `dist` and `install` steps, or if codegen-backends was explicitly called for build. Signed-off-by: onur-ozkan <work@onurozkan.dev>
Configuration menu - View commit details
-
Copy full SHA for 521e707 - Browse repository at this point
Copy the full SHA 521e707View commit details
Commits on Jun 19, 2024
-
remove
GIT_DIR
handling in pre-push hookThis is already handled from bootstrap at https://github.com/rust-lang/rust/blob/a1ca449981e3b8442e358026437b7bedb9a1458e/src/bootstrap/src/utils/helpers.rs#L504-L506. Signed-off-by: onur-ozkan <work@onurozkan.dev>
Configuration menu - View commit details
-
Copy full SHA for 279bf05 - Browse repository at this point
Copy the full SHA 279bf05View commit details
Commits on Jun 21, 2024
-
Extract repeated constants from
f32
andf64
sourceThis will make it easier to keep `f16` and `f128` consistent as their implementations get added.
Configuration menu - View commit details
-
Copy full SHA for cd63f78 - Browse repository at this point
Copy the full SHA cd63f78View commit details -
Better explain the reasoning for the `next_up`/`next_down` integer implementation, as requested by Ralf.
Configuration menu - View commit details
-
Copy full SHA for 731406f - Browse repository at this point
Copy the full SHA 731406fView commit details -
Add build.rs config for reliable
f16
andf128
There are some complexities about what platforms we can test f16 and f128 on. Put this in build.rs so we have an easy way to configure tests with a single attribute, and keep it up to date.
Configuration menu - View commit details
-
Copy full SHA for fff8011 - Browse repository at this point
Copy the full SHA fff8011View commit details -
Add doctests to existing
f16
andf128
functionsThe symbols that these tests rely on are not available on all platforms and some ABIs are buggy, tests that rely on external functions are configured to only run on x86 (`f128`) or aarch64 (`f16`).
Configuration menu - View commit details
-
Copy full SHA for a32461a - Browse repository at this point
Copy the full SHA a32461aView commit details -
Add more
f16
andf128
library functions and constantsThis adds everything that was directly or transitively blocked on const arithmetic for these types, which was recently merged. Since const arithmetic is recent, most of these need to be gated by `bootstrap`. Anything that relies on intrinsics that are still missing is excluded.
Configuration menu - View commit details
-
Copy full SHA for a7904fc - Browse repository at this point
Copy the full SHA a7904fcView commit details -
This suite tests all library functions that are now available for the types. Tests are only run on certain platforms where `f16` and `f128` are known to work (have symbols available and don't crash LLVM).
Configuration menu - View commit details
-
Copy full SHA for a9bfab3 - Browse repository at this point
Copy the full SHA a9bfab3View commit details
Commits on Jun 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0937996 - Browse repository at this point
Copy the full SHA 0937996View commit details -
Configuration menu - View commit details
-
Copy full SHA for 763e313 - Browse repository at this point
Copy the full SHA 763e313View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a26595 - Browse repository at this point
Copy the full SHA 0a26595View commit details -
Import
NonterminalKind
incompiler/rustc_expand/src/mbe/quoted.rs
.So we can omit the `token::` qualifier, which gives more space to some cramped code.
Configuration menu - View commit details
-
Copy full SHA for 470b0e9 - Browse repository at this point
Copy the full SHA 470b0e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70fa67c - Browse repository at this point
Copy the full SHA 70fa67cView commit details
Commits on Jun 23, 2024
-
Rework pattern and expression nonterminal kinds.
Merge `PatParam`/`PatWithOr`, and `Expr`/`Expr2021`, for a few reasons. - It's conceptually nice, because the two pattern kinds and the two expression kinds are very similar. - With expressions in particular, there are several places where both expression kinds get the same treatment. - It removes one unreachable match arm. - Most importantly, for rust-lang#124141 I will need to introduce a new type `MetaVarKind` that is very similar to `NonterminalKind`, but records a couple of extra fields for expression metavars. It's nicer to have a single `MetaVarKind::Expr` expression variant to hold those extra fields instead of duplicating them across two variants `MetaVarKind::{Expr,Expr2021}`. And then it makes sense for patterns to be treated the same way, and for `NonterminalKind` to also be treated the same way. I also clarified the comments, because I have long found them a little hard to understand.
Configuration menu - View commit details
-
Copy full SHA for e2aa38e - Browse repository at this point
Copy the full SHA e2aa38eView commit details -
Rollup merge of rust-lang#126230 - onur-ozkan:followup-126225, r=Mark…
…-Simulacrum tidy: skip submodules if not present for non-CI environments Right now tidy requires rustc-perf to be fetched as it checks its license, but this doesn't make sense for most contributors since rustc-perf is a dist-specific tool and its license will not change frequently, especially during compiler development. This PR makes tidy to skip rustc-perf if it's not fetched and if it's not running in CI. Applies rust-lang#126225 (comment) and reverts rust-lang#126225.
Configuration menu - View commit details
-
Copy full SHA for 1410137 - Browse repository at this point
Copy the full SHA 1410137View commit details -
Rollup merge of rust-lang#126608 - tgross35:f16-f128-library, r=Mark-…
…Simulacrum Add more constants, functions, and tests for `f16` and `f128` This adds everything that was in some way blocked on const eval, since rust-lang#126429 landed. There is a lot of `cfg(bootstrap)` since that is a fairly recent change. `f128` tests are disabled on everything except x86_64 and Linux aarch64, which are two platforms I know have "good" support for these types - meaning basic math symbols are available and LLVM doesn't hit selection crashes. `f16` tests are enabled on almost everything except for known LLVM crashes. Doctests are only enabled on x86_64. Tracking issue: rust-lang#116909
Configuration menu - View commit details
-
Copy full SHA for 30ec5b9 - Browse repository at this point
Copy the full SHA 30ec5b9View commit details -
Rollup merge of rust-lang#126612 - ehuss:build-manifest-readme, r=Mar…
…k-Simulacrum Update outdated README in build-manifest. I believe this was changed a while ago in rust-lang/promote-release#14.
Configuration menu - View commit details
-
Copy full SHA for 1f16fbd - Browse repository at this point
Copy the full SHA 1f16fbdView commit details -
Rollup merge of rust-lang#126616 - onur-ozkan:less-warnings, r=Mark-S…
…imulacrum less bootstrap warnings This is how the build logs looks like currently: ```sh $ x build Building bootstrap Compiling bootstrap v0.0.0 (/home/nimda/devspace/onur-ozkan/rust/src/bootstrap) Finished `dev` profile [unoptimized] target(s) in 3.43s WARNING: no codegen-backends config matched the requested path to build a codegen backend. HELP: add backend to codegen-backends in config.toml. WARNING: creating symbolic link `/home/nimda/devspace/.other/rustc-builds/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/rustc-src/rust` to `/home/nimda/devspace/onur-ozkan/rust` failed with File exists (os error 17) Creating a sysroot for stage2 compiler (use `rustup toolchain link 'name' build/host/stage2`) WARNING: creating symbolic link `/home/nimda/devspace/.other/rustc-builds/build/x86_64-unknown-linux-gnu/ci-rustc-sysroot/lib/rustlib/rustc-src/rust` to `/home/nimda/devspace/onur-ozkan/rust` failed with File e xists (os error 17) Building tool rustdoc (stage1 -> stage2, x86_64-unknown-linux-gnu) Compiling rustdoc v0.0.0 (/home/nimda/devspace/onur-ozkan/rust/src/librustdoc) Compiling rustdoc-tool v0.0.0 (/home/nimda/devspace/onur-ozkan/rust/src/tools/rustdoc) Finished `release` profile [optimized + debuginfo] target(s) in 13.57s Build completed successfully in 0:00:17 ``` This PR removes artifact linking warnings and only shows the codegen-backend warning if explicitly called or during Dist or Install steps.
Configuration menu - View commit details
-
Copy full SHA for 46fabd7 - Browse repository at this point
Copy the full SHA 46fabd7View commit details -
Rollup merge of rust-lang#126663 - onur-ozkan:gitdir-thing, r=Mark-Si…
…mulacrum remove `GIT_DIR` handling in pre-push hook This is already handled from bootstrap: https://github.com/rust-lang/rust/blob/a1ca449981e3b8442e358026437b7bedb9a1458e/src/bootstrap/src/utils/helpers.rs#L504-L506
Configuration menu - View commit details
-
Copy full SHA for 99621fc - Browse repository at this point
Copy the full SHA 99621fcView commit details -
Rollup merge of rust-lang#126830 - RalfJung:unsized-fn-params, r=comp…
…iler-errors make unsized_fn_params an internal feature As suggested [here](rust-lang#123894 (comment)). r? ``@compiler-errors`` Fixes rust-lang#123887 (kind of -- ICEs on internal features are considered acceptable so this issue is not-a-bug once this PR lands)
Configuration menu - View commit details
-
Copy full SHA for 54cf62e - Browse repository at this point
Copy the full SHA 54cf62eView commit details -
Rollup merge of rust-lang#126833 - RalfJung:extern-type-field-ice, r=…
…compiler-errors don't ICE when encountering an extern type field during validation "extern type" is a pain that keeps on giving... Fixes rust-lang#126814 r? ``@oli-obk``
Configuration menu - View commit details
-
Copy full SHA for bad5f19 - Browse repository at this point
Copy the full SHA bad5f19View commit details -
Rollup merge of rust-lang#126837 - petrochenkov:delegfix, r=compiler-…
…errors delegation: Do not crash on qpaths without a trait Fixes rust-lang#126742
Configuration menu - View commit details
-
Copy full SHA for 13baa73 - Browse repository at this point
Copy the full SHA 13baa73View commit details -
Rollup merge of rust-lang#126851 - nnethercote:NtExprKind-NtPatKind, …
…r=compiler-errors Rework pattern and expression nonterminal kinds. Some tweaks to `NonterminalKind` that will assist with rust-lang#124141. Details in the individual commits. r? compiler-errors cc ``@eholk``
Configuration menu - View commit details
-
Copy full SHA for b8523b1 - Browse repository at this point
Copy the full SHA b8523b1View commit details