-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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 #127695
Rollup of 9 pull requests #127695
Commits on Apr 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6bd68fc - Browse repository at this point
Copy the full SHA 6bd68fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for f238eba - Browse repository at this point
Copy the full SHA f238ebaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 853311c - Browse repository at this point
Copy the full SHA 853311cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0692090 - Browse repository at this point
Copy the full SHA 0692090View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0f867e - Browse repository at this point
Copy the full SHA f0f867eView commit details
Commits on Jun 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2d5a483 - Browse repository at this point
Copy the full SHA 2d5a483View commit details
Commits on Jul 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a5dc082 - Browse repository at this point
Copy the full SHA a5dc082View commit details -
Add experimental raw-dylib feature to std
For Windows, this allows defining imports without needing the user to have import libraries. It's intended for this to become the default.
Configuration menu - View commit details
-
Copy full SHA for e136f08 - Browse repository at this point
Copy the full SHA e136f08View commit details
Commits on Jul 6, 2024
-
use "bootstrap" instead of "rustbuild" in comments and docs
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Configuration menu - View commit details
-
Copy full SHA for 4819270 - Browse repository at this point
Copy the full SHA 4819270View commit details
Commits on Jul 8, 2024
-
Clear
inner_attr_ranges
regularly.There's a comment saying we don't do it for performance reasons, but it doesn't actually affect performance. The commit also tweaks the control flow, to make clearer that two code paths are mutually exclusive.
Configuration menu - View commit details
-
Copy full SHA for 99721c8 - Browse repository at this point
Copy the full SHA 99721c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for a47ae57 - Browse repository at this point
Copy the full SHA a47ae57View commit details -
Use iterator normally in
make_attr_token_stream
.In a `for` loop, instead of a `while` loop.
Configuration menu - View commit details
-
Copy full SHA for b162013 - Browse repository at this point
Copy the full SHA b162013View commit details -
Split the stack in
make_attr_token_stream
.It makes for shorter code, and fewer allocations.
Configuration menu - View commit details
-
Copy full SHA for a88c4d6 - Browse repository at this point
Copy the full SHA a88c4d6View commit details
Commits on Jul 9, 2024
-
It's only needed for the `FlatToken::Token` variant. This makes things a little more concise.
Configuration menu - View commit details
-
Copy full SHA for f552794 - Browse repository at this point
Copy the full SHA f552794View commit details -
Promote the
wasm32-wasip2
target to Tier 2This commit promotes the `wasm32-wasip2` Rust target to tier 2 as proposed in rust-lang/compiler-team#760. There are two major changes in this PR: 1. The `dist-various-2` container, which already produces the other WASI targets, now has an extra target added for `wasm32-wasip2`. 2. A new `wasm-component-ld` binary is added to all host toolchains when LLD is enabled. This is the linker used for the `wasm32-wasip2` target. This new linker is added for all host toolchains to ensure that all host toolchains can produce the `wasm32-wasip2` target. This is similar to how `rust-lld` was originally included for all host toolchains to be able to produce WebAssembly output when the targets were first added. The new linker is developed [here][wasm-component-ld] and is pulled in via a crates.io-based dependency to the tree here. [wasm-component-ld]: https://github.com/bytecodealliance/wasm-component-ld
Configuration menu - View commit details
-
Copy full SHA for 2a3e22b - Browse repository at this point
Copy the full SHA 2a3e22bView commit details -
Update how wasm-component-ld is built
Reuse preexisting macro and switch it to a "bootstrap tool" to try to resolve build issues.
Configuration menu - View commit details
-
Copy full SHA for 1afdd45 - Browse repository at this point
Copy the full SHA 1afdd45View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cd6eee - Browse repository at this point
Copy the full SHA 4cd6eeeView commit details
Commits on Jul 10, 2024
-
Change empty replace range condition.
The new condition is equivalent in practice, but it's much more obvious that it would result in an empty range, because the condition lines up with the contents of the iterator.
Configuration menu - View commit details
-
Copy full SHA for 8a390ba - Browse repository at this point
Copy the full SHA 8a390baView commit details -
Returning `Vec<TokenTree>` works better for the call sites than returning `TokenStream`.
Configuration menu - View commit details
-
Copy full SHA for fee1525 - Browse repository at this point
Copy the full SHA fee1525View commit details -
In various functions where the attribute being processed is known to be a `#[cfg_attr(...)]` attribute. I find this a helpful reminder.
Configuration menu - View commit details
-
Copy full SHA for d8b6aa6 - Browse repository at this point
Copy the full SHA d8b6aa6View commit details -
Factor out
AttrsTarget
flattening code.This commit does the following. - Pulls the code out of `AttrTokenStream::to_token_trees` into a new function `attrs_and_tokens_to_token_trees`. - Simplifies `TokenStream::from_ast` by calling the new function. This is nicer than the old way, which created a temporary `AttrTokenStream` containing a single `AttrsTarget` (which required some cloning) just to call `to_token_trees` on it. (It is good to remove this use of `AttrsTarget` which isn't related to `cfg_attr` expansion.)
Configuration menu - View commit details
-
Copy full SHA for d6ebbbf - Browse repository at this point
Copy the full SHA d6ebbbfView commit details -
Explaining things that took me some time to work out.
Configuration menu - View commit details
-
Copy full SHA for 478ba59 - Browse repository at this point
Copy the full SHA 478ba59View commit details
Commits on Jul 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7fc6943 - Browse repository at this point
Copy the full SHA 7fc6943View commit details
Commits on Jul 13, 2024
-
use
ModeToolBootstrap
for run-make-support's crate testsWe don't need to ensure std (and rustc) for testing run-make-support's unit tests. Using stage 0 compiler is already enough and speeds up `x test run-make-support` invocations on a clean build. Signed-off-by: onur-ozkan <work@onurozkan.dev>
Configuration menu - View commit details
-
Copy full SHA for fc0d1dc - Browse repository at this point
Copy the full SHA fc0d1dcView commit details -
explain why we use in-tree std for compiletest
Signed-off-by: onur-ozkan <work@onurozkan.dev>
Configuration menu - View commit details
-
Copy full SHA for 41070bd - Browse repository at this point
Copy the full SHA 41070bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e12172 - Browse repository at this point
Copy the full SHA 4e12172View commit details -
Rollup merge of rust-lang#122300 - CastilloDel:master, r=cjgillot
Add FileCheck annotations to mir-opt/dest-prop tests Part of rust-lang#116971, adds FileCheck annotations to MIR-opt tests in tests/mir-opt/dest-prop. I would like some feedback. Also, I don't know how to approach `union.rs`. I couldn't figure out what it is testing. r? cjgillot
Configuration menu - View commit details
-
Copy full SHA for 88a7cdb - Browse repository at this point
Copy the full SHA 88a7cdbView commit details -
Rollup merge of rust-lang#126967 - alexcrichton:wasm32-wasip2-tier-2,…
… r=Mark-Simulacrum Promote the `wasm32-wasip2` target to Tier 2 This commit promotes the `wasm32-wasip2` Rust target to tier 2 as proposed in rust-lang/compiler-team#760. There are two major changes in this PR: 1. The `dist-various-2` container, which already produces the other WASI targets, now has an extra target added for `wasm32-wasip2`. 2. A new `wasm-component-ld` binary is added to all host toolchains when LLD is enabled. This is the linker used for the `wasm32-wasip2` target. This new linker is added for all host toolchains to ensure that all host toolchains can produce the `wasm32-wasip2` target. This is similar to how `rust-lld` was originally included for all host toolchains to be able to produce WebAssembly output when the targets were first added. The new linker is developed [here][wasm-component-ld] and is pulled in via a crates.io-based dependency to the tree here. [wasm-component-ld]: https://github.com/bytecodealliance/wasm-component-ld
Configuration menu - View commit details
-
Copy full SHA for a85818e - Browse repository at this point
Copy the full SHA a85818eView commit details -
Rollup merge of rust-lang#127083 - BoxyUwU:relnotes_1_80, r=Mark-Simu…
…lacrum Add release notes for 1.80 cc `@rust-lang/release` r? `@Mark-Simulacrum` I tended to err on the side of leaving more stuff in since I don't have a perfect idea of what should or should not be in the release notes right now.
Configuration menu - View commit details
-
Copy full SHA for 06788aa - Browse repository at this point
Copy the full SHA 06788aaView commit details -
Rollup merge of rust-lang#127370 - ChrisDenton:win-sys, r=Mark-Simula…
…crum Windows: Add experimental support for linking std-required system DLLs using raw-dylib For Windows, this allows std to define system imports without needing the user to have import libraries. It's intended for this to become the default. For now it's an experimental feature so it can be tested using build-std.
Configuration menu - View commit details
-
Copy full SHA for 6820acf - Browse repository at this point
Copy the full SHA 6820acfView commit details -
Rollup merge of rust-lang#127434 - onur-ozkan:use-bootstrap-instead-o…
…f-rustbuild, r=Mark-Simulacrum use "bootstrap" instead of "rustbuild" in comments and docs Let's stick with the single name "bootstrap" to refer to the bootstrap project to avoid confusion. This should make it clearer, especially for new contributors.
Configuration menu - View commit details
-
Copy full SHA for 6a44d83 - Browse repository at this point
Copy the full SHA 6a44d83View commit details -
Rollup merge of rust-lang#127477 - nnethercote:tweak-inner_attr_range…
…s, r=petrochenkov Clear `inner_attr_ranges` regularly. There's a comment saying we don't do it for performance reasons, but it doesn't actually affect performance. The commit also tweaks the control flow, to make clearer that two code paths are mutually exclusive. r? `@petrochenkov`
Configuration menu - View commit details
-
Copy full SHA for fce04fa - Browse repository at this point
Copy the full SHA fce04faView commit details -
Rollup merge of rust-lang#127558 - nnethercote:more-Attribute-cleanup…
…s, r=petrochenkov More attribute cleanups A follow-up to rust-lang#127308. r? `@petrochenkov`
Configuration menu - View commit details
-
Copy full SHA for 90cee91 - Browse repository at this point
Copy the full SHA 90cee91View commit details -
Rollup merge of rust-lang#127659 - saethlin:manually-drop-bufwriter, …
…r=joboet Use ManuallyDrop in BufWriter::into_parts The fact that `mem::forget` takes by value means that it interacts very poorly with Stacked Borrows; generally users think of calling it as a no-op, but in Stacked Borrows, the field retagging tends to cause surprise tag invalidation.
Configuration menu - View commit details
-
Copy full SHA for 7321530 - Browse repository at this point
Copy the full SHA 7321530View commit details -
Rollup merge of rust-lang#127677 - onur-ozkan:use-correct-modes, r=Ko…
…bzol using correct tool mode for `run-make-support` crate We don't need to ensure std (and rustc) for testing run-make-support's unit tests. Using stage 0 compiler is already enough and speeds up `x test run-make-support` invocations on a clean build.
Configuration menu - View commit details
-
Copy full SHA for a02a776 - Browse repository at this point
Copy the full SHA a02a776View commit details