-
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 10 pull requests #82896
Rollup of 10 pull requests #82896
Commits on Feb 13, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 6a679ff - Browse repository at this point
Copy the full SHA 6a679ffView commit details
Commits on Feb 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 6e52b23 - Browse repository at this point
Copy the full SHA 6e52b23View commit details
Commits on Mar 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 920e2d8 - Browse repository at this point
Copy the full SHA 920e2d8View commit details
Commits on Mar 4, 2021
-
Refactor confirm_builtin_call, remove partial if
Pass callee expr to `confirm_builtin_call`. This removes a partial pattern match in `confirm_builtin_call` and the `panic` in the `else` branch. The diff is large because of indentation changes caused by removing the if-let.
Configuration menu - View commit details
-
Copy full SHA for c8a0e8d - Browse repository at this point
Copy the full SHA c8a0e8dView commit details -
expand: Remove obsolete
DirectoryOwnership::UnownedViaMod
This ownership kind is only constructed in the case of path attributes like `#[path = ".."]` without a file name segment, which always represent some kind of directories and will produce and error on attempt to parse them as a module file.
Configuration menu - View commit details
-
Copy full SHA for bc18eb4 - Browse repository at this point
Copy the full SHA bc18eb4View commit details -
expand: Move module file path stack from global session to expansion …
…data Also don't push the paths on the stack directly in `fn parse_external_mod`, return them instead.
Configuration menu - View commit details
-
Copy full SHA for 39052c5 - Browse repository at this point
Copy the full SHA 39052c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5bdf81d - Browse repository at this point
Copy the full SHA 5bdf81dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d0b622 - Browse repository at this point
Copy the full SHA 3d0b622View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46b67aa - Browse repository at this point
Copy the full SHA 46b67aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for da3419e - Browse repository at this point
Copy the full SHA da3419eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 29a9ef2 - Browse repository at this point
Copy the full SHA 29a9ef2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e1d574 - Browse repository at this point
Copy the full SHA 1e1d574View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fe2eb8 - Browse repository at this point
Copy the full SHA 1fe2eb8View commit details
Commits on Mar 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 1b4860a - Browse repository at this point
Copy the full SHA 1b4860aView commit details
Commits on Mar 6, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 6f49aad - Browse repository at this point
Copy the full SHA 6f49aadView commit details -
Configuration menu - View commit details
-
Copy full SHA for 069e612 - Browse repository at this point
Copy the full SHA 069e612View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5dad6c2 - Browse repository at this point
Copy the full SHA 5dad6c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf52469 - Browse repository at this point
Copy the full SHA cf52469View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca48d15 - Browse repository at this point
Copy the full SHA ca48d15View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83cece4 - Browse repository at this point
Copy the full SHA 83cece4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70c9b37 - Browse repository at this point
Copy the full SHA 70c9b37View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18841ec - Browse repository at this point
Copy the full SHA 18841ecView commit details -
Move full configuration logic from
rustc_expand
to `rustc_builtin_m……acros` This logic is applicable to two specific macros and not to the expansion infrastructure in general.
Configuration menu - View commit details
-
Copy full SHA for f9019b7 - Browse repository at this point
Copy the full SHA f9019b7View commit details -
cfg_eval: Configure everything through mutable visitor methods
This is simpler and mirrors what invocation collector does
Configuration menu - View commit details
-
Copy full SHA for 10ed08f - Browse repository at this point
Copy the full SHA 10ed08fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d27728 - Browse repository at this point
Copy the full SHA 5d27728View commit details
Commits on Mar 7, 2021
-
Fixes some punctuation and formatting; also makes some small wording changes.
Configuration menu - View commit details
-
Copy full SHA for 6b2eb0e - Browse repository at this point
Copy the full SHA 6b2eb0eView commit details -
Generalize Write impl for Vec<u8> to Vec<u8, A>
As discussed in the issue tracker for the wg-allocators working group[1], updating this implementation for allocator support was most likely just forgotten in the original PR. [1]: rust-lang/wg-allocators#86
Configuration menu - View commit details
-
Copy full SHA for ab8995b - Browse repository at this point
Copy the full SHA ab8995bView commit details
Commits on Mar 8, 2021
-
Rollup merge of rust-lang#82047 - the8472:fast-rename, r=davidtwco
bypass auto_da_alloc for metadata files This saves about 0.7% when rerunning the UI test suite. I.e. when the metadata files exist and will be overwritten. No improvements expected for a clean build. So it might show up in incr-patched perf results. ``` regular rename: Benchmark rust-lang#1: touch src/tools/compiletest/src/main.rs ; RUSTC_WRAPPER="" schedtool -B -e ./x.py test src/test/ui Time (mean ± σ): 47.305 s ± 0.170 s [User: 1631.540 s, System: 412.648 s] Range (min … max): 47.125 s … 47.856 s 20 runs non-durable rename: Benchmark rust-lang#1: touch src/tools/compiletest/src/main.rs ; RUSTC_WRAPPER="" schedtool -B -e ./x.py test src/test/ui Time (mean ± σ): 46.930 s ± 0.064 s [User: 1634.344 s, System: 396.038 s] Range (min … max): 46.759 s … 47.043 s 20 runs ``` There are more places that trigger auto_da_alloc behavior by overwriting existing files with O_TRUNC, but those are much harder to locate because `O_TRUNC` is set on `open()` but the writeback is triggered on `close()`. The latter is the part which shows up in profiles.
Configuration menu - View commit details
-
Copy full SHA for da74a77 - Browse repository at this point
Copy the full SHA da74a77View commit details -
Rollup merge of rust-lang#82415 - petrochenkov:modin3, r=davidtwco
expand: Refactor module loading This is an accompanying PR to rust-lang#82399, but they can be landed independently. See individual commits for more details. Anyone should be able to review this equally well because all people actually familiar with this code left the project.
Configuration menu - View commit details
-
Copy full SHA for 4a4e3e6 - Browse repository at this point
Copy the full SHA 4a4e3e6View commit details -
Rollup merge of rust-lang#82557 - rylev:natvis-improvements, r=varkor
Add natvis for Result, NonNull, CString, CStr, and Cow This adds natvis support (used for Windows debugging) to the following types: `Result`, `NonNull`, `CString`, `CStr`, and `Cow`.
Configuration menu - View commit details
-
Copy full SHA for 298c31b - Browse repository at this point
Copy the full SHA 298c31bView commit details -
Rollup merge of rust-lang#82613 - CraftSpider:fix-de, r=aDotInTheVoid
Remove Item::kind, use tagged enum. Rename variants to match Fixes rust-lang#82299, by making the ItemEnum tagged. Doesn't remove ItemKind as it's still used in other places. r? `````@jyn514````` `````@rustbot````` label: +A-rustdoc-json +T-rustdoc
Configuration menu - View commit details
-
Copy full SHA for 0681951 - Browse repository at this point
Copy the full SHA 0681951View commit details -
Rollup merge of rust-lang#82642 - sfackler:jemalloc-zone, r=pnkfelix
Fix jemalloc usage on OSX Closes rust-lang#82423
Configuration menu - View commit details
-
Copy full SHA for 7b78d86 - Browse repository at this point
Copy the full SHA 7b78d86View commit details -
Rollup merge of rust-lang#82682 - petrochenkov:cfgeval, r=Aaron1011
Implement built-in attribute macro `#[cfg_eval]` + some refactoring This PR implements a built-in attribute macro `#[cfg_eval]` as it was suggested in rust-lang#79078 to avoid `#[derive()]` without arguments being abused as a way to configure input for other attributes. The macro is used for eagerly expanding all `#[cfg]` and `#[cfg_attr]` attributes in its input ("fully configuring" the input). The effect is identical to effect of `#[derive(Foo, Bar)]` which also fully configures its input before passing it to macros `Foo` and `Bar`, but unlike `#[derive]` `#[cfg_eval]` can be applied to any syntax nodes supporting macro attributes, not only certain items. `cfg_eval` was the first name suggested in rust-lang#79078, but other alternatives are also possible, e.g. `cfg_expand`. ```rust #[cfg_eval] #[my_attr] // Receives `struct S {}` as input, the field is configured away by `#[cfg_eval]` struct S { #[cfg(FALSE)] field: u8, } ``` Tracking issue: rust-lang#82679
Configuration menu - View commit details
-
Copy full SHA for 9c31057 - Browse repository at this point
Copy the full SHA 9c31057View commit details -
Rollup merge of rust-lang#82684 - tmiasko:dest-prop, r=jonas-schievink
Disable destination propagation on all mir-opt-levels The new `// compile-flags: -Zunsound-mir-opts` are inserted without an extra newline to avoid introducing a large mir-opt diff.
Configuration menu - View commit details
-
Copy full SHA for dd7a606 - Browse repository at this point
Copy the full SHA dd7a606View commit details -
Rollup merge of rust-lang#82755 - osa1:confirm_builtin_call_refactor,…
… r=petrochenkov Refactor confirm_builtin_call, remove partial if Pass callee expr to `confirm_builtin_call`. This removes a partial pattern match in `confirm_builtin_call` and the `panic` in the `else` branch. The diff is large because of indentation changes caused by removing the if-let.
Configuration menu - View commit details
-
Copy full SHA for 041bc04 - Browse repository at this point
Copy the full SHA 041bc04View commit details -
Rollup merge of rust-lang#82857 - pierwill:edit-ast-lowering-lib, r=D…
…ylan-DPC Edit ructc_ast_lowering docs Fixes some punctuation and formatting; also makes some small wording changes.
Configuration menu - View commit details
-
Copy full SHA for 08475e7 - Browse repository at this point
Copy the full SHA 08475e7View commit details -
Rollup merge of rust-lang#82862 - athre0z:generalize-vec-write-impl, …
…r=TimDiekmann Generalize Write impl for Vec<u8> to Vec<u8, A> As discussed in the [issue tracker for the wg-allocators working group][1], updating this impl for allocator support was most likely just forgotten previously. This PR fixes this. r? `````@TimDiekmann````` [1]: rust-lang/wg-allocators#86
Configuration menu - View commit details
-
Copy full SHA for 3b0a02a - Browse repository at this point
Copy the full SHA 3b0a02aView commit details