-
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 8 pull requests #80544
Rollup of 8 pull requests #80544
Commits on Dec 21, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 799e822 - Browse repository at this point
Copy the full SHA 799e822View commit details
Commits on Dec 22, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f502263 - Browse repository at this point
Copy the full SHA f502263View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c217a6 - Browse repository at this point
Copy the full SHA 0c217a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for d261176 - Browse repository at this point
Copy the full SHA d261176View commit details
Commits on Dec 23, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b3b74a9 - Browse repository at this point
Copy the full SHA b3b74a9View commit details -
Update and improve
rustc_codegen_{llvm,ssa}
docsThese docs were very out of date and misleading. They even said that they codegen'd the *AST*! For some reason, the `rustc_codegen_ssa::base` docs were exactly identical to the `rustc_codegen_llvm::base` docs. They didn't really make sense, because they had LLVM-specific information even though `rustc_codegen_ssa` is supposed to be somewhat generic. So I removed them as they were misleading.
Configuration menu - View commit details
-
Copy full SHA for 5b32ab6 - Browse repository at this point
Copy the full SHA 5b32ab6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a4e7a7 - Browse repository at this point
Copy the full SHA 8a4e7a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1990713 - Browse repository at this point
Copy the full SHA 1990713View commit details
Commits on Dec 30, 2020
-
Add
#[track_caller]
tobug!
andregister_renamed
Before: ``` thread 'rustc' panicked at 'compiler/rustc_lint/src/context.rs:267:18: invalid lint renaming of broken_intra_doc_links to rustdoc::broken_intra_doc_links', compiler/rustc_middle/src/util/bug.rs:34:26 ``` After: ``` thread 'rustc' panicked at 'src/librustdoc/core.rs:455:24: invalid lint renaming of broken_intra_doc_links to rustdoc::broken_intra_doc_links', compiler/rustc_middle/src/util/bug.rs:35:26 ``` The reason I added it to `register_renamed` too is that any panic in that function will be the caller's fault.
Configuration menu - View commit details
-
Copy full SHA for 56ea926 - Browse repository at this point
Copy the full SHA 56ea926View commit details -
bootstrap: never delete the tarball temporary directory
Files in the temporary directory are used by ./x.py install.
Configuration menu - View commit details
-
Copy full SHA for bd3499b - Browse repository at this point
Copy the full SHA bd3499bView commit details -
bootstrap: change the dist outputs to GeneratedTarball
The struct will allow to store more context on the generated tarballs.
Configuration menu - View commit details
-
Copy full SHA for f02def8 - Browse repository at this point
Copy the full SHA f02def8View commit details -
Configuration menu - View commit details
-
Copy full SHA for f946b54 - Browse repository at this point
Copy the full SHA f946b54View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40bf3c0 - Browse repository at this point
Copy the full SHA 40bf3c0View commit details -
- [GlobalISel][IRTranslator] Fix a crash when the use of an extractvalue is a non-dominated metadata use. - [asan] Use dynamic shadow memory position on Apple Silicon macOS
Configuration menu - View commit details
-
Copy full SHA for 26daa65 - Browse repository at this point
Copy the full SHA 26daa65View commit details -
Configuration menu - View commit details
-
Copy full SHA for 947b279 - Browse repository at this point
Copy the full SHA 947b279View commit details -
Configuration menu - View commit details
-
Copy full SHA for 27b81bf - Browse repository at this point
Copy the full SHA 27b81bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5694b8e - Browse repository at this point
Copy the full SHA 5694b8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4614cdd - Browse repository at this point
Copy the full SHA 4614cddView commit details
Commits on Dec 31, 2020
-
Rollup merge of rust-lang#79150 - m-ou-se:bye-bye-doc-comment-hack, r…
…=jyn514 Remove all doc_comment!{} hacks by using #[doc = expr] where needed. This replaces about 200 cases of `````rust doc_comment! { concat!("The smallest value that can be represented by this integer type. # Examples Basic usage: ``` ", $Feature, "assert_eq!(", stringify!($SelfT), "::MIN, ", stringify!($Min), ");", $EndFeature, " ```"), #[stable(feature = "assoc_int_consts", since = "1.43.0")] pub const MIN: Self = !0 ^ ((!0 as $UnsignedT) >> 1) as Self; } ````` by ```rust /// The smallest value that can be represented by this integer type. /// /// # Examples /// /// Basic usage: /// /// ``` #[doc = concat!("assert_eq!(", stringify!($SelfT), "::MIN, ", stringify!($Min), ");")] /// ``` #[stable(feature = "assoc_int_consts", since = "1.43.0")] pub const MIN: Self = !0 ^ ((!0 as $UnsignedT) >> 1) as Self; ``` --- **Note:** For a usable diff, make sure to enable 'ignore whitspace': https://github.com/rust-lang/rust/pull/79150/files?diff=unified&w=1
Configuration menu - View commit details
-
Copy full SHA for 7586279 - Browse repository at this point
Copy the full SHA 7586279View commit details -
Rollup merge of rust-lang#80267 - 0urobor0s:ouro/61592, r=jyn514
Rustdoc render public underscore_imports as Re-exports Fixes rust-lang#61592
Configuration menu - View commit details
-
Copy full SHA for 00d66b2 - Browse repository at this point
Copy the full SHA 00d66b2View commit details -
Rollup merge of rust-lang#80323 - camelid:codegen-base-docs, r=nagisa
Update and improve `rustc_codegen_{llvm,ssa}` docs Fixes rust-lang#75342. These docs were very out of date and misleading. They even said that they codegen'd the *AST*! For some reason, the `rustc_codegen_ssa::base` docs were exactly identical to the `rustc_codegen_llvm::base` docs. They didn't really make sense, because they had LLVM-specific information even though `rustc_codegen_ssa` is supposed to be somewhat generic. So I removed them as they were misleading. r? `@pnkfelix` maybe?
Configuration menu - View commit details
-
Copy full SHA for 26b8c0d - Browse repository at this point
Copy the full SHA 26b8c0dView commit details -
Rollup merge of rust-lang#80459 - mark-i-m:or-pat-reg, r=petrochenkov
Implement edition-based macro :pat feature This PR does two things: 1. Fixes the perf regression from rust-lang#80100 (comment) 2. Implements `:pat2018` and `:pat2021` matchers, as described by `@joshtriplett` in rust-lang#54883 (comment) behind the feature gate `edition_macro_pat`. r? `@petrochenkov` cc `@Mark-Simulacrum`
Configuration menu - View commit details
-
Copy full SHA for 6452dd4 - Browse repository at this point
Copy the full SHA 6452dd4View commit details -
Rollup merge of rust-lang#80500 - jyn514:track-caller, r=nagisa
Add `#[track_caller]` to `bug!` and `register_renamed` Before: ``` thread 'rustc' panicked at 'compiler/rustc_lint/src/context.rs:267:18: invalid lint renaming of broken_intra_doc_links to rustdoc::broken_intra_doc_links', compiler/rustc_middle/src/util/bug.rs:34:26 ``` After: ``` thread 'rustc' panicked at 'src/librustdoc/core.rs:455:24: invalid lint renaming of broken_intra_doc_links to rustdoc::broken_intra_doc_links', compiler/rustc_middle/src/util/bug.rs:35:26 ``` The reason I added it to `register_renamed` too is that any panic in that function will be the caller's fault.
Configuration menu - View commit details
-
Copy full SHA for 0d5fba7 - Browse repository at this point
Copy the full SHA 0d5fba7View commit details -
Rollup merge of rust-lang#80514 - pietroalbini:fix-install, r=Mark-Si…
…mulacrum Fix broken ./x.py install During my tarball refactorings in rust-lang#79788 I changed the directory layout used by the tarball generation code, and that broke the other parts of rustbuild which hardcoded the paths of those directories. Namely, `./x.py install` relied on the uncompressed copy of the tarball left behind by `fabricate`/`rust-installer`, causing rust-lang#80494. While the easy fix for rust-lang#80494 would've been to just update the hardcoded paths to match the new structure, that fix would leave us in the same situation if we were to change the directory layout again in the future. Instead I refactored the code to return a `GeneratedTarball` struct as the output of all the dist steps, and I put all the paths the rest of rustbuild needs to care about in its fields. That way, future changes to `src/bootstrap/tarball.rs` will not break other stuff. This PR is best reviewed commit-by-commit. r? `@Mark-Simulacrum` `@rustbot` modify labels: beta-nominated beta-accepted T-release
Configuration menu - View commit details
-
Copy full SHA for bd54e4a - Browse repository at this point
Copy the full SHA bd54e4aView commit details -
Rollup merge of rust-lang#80519 - max-heller:issue-80512-fix, r=varkor
Take type defaults into account in suggestions to reorder generic parameters Fixes rust-lang#80512
Configuration menu - View commit details
-
Copy full SHA for 41817ae - Browse repository at this point
Copy the full SHA 41817aeView commit details -
Rollup merge of rust-lang#80526 - tmandry:up-llvm, r=nikic
Update LLVM - [GlobalISel][IRTranslator] Fix a crash when the use of an extractvalue is a non-dominated metadata use. - [asan] Use dynamic shadow memory position on Apple Silicon macOS r? `@cuviper`
Configuration menu - View commit details
-
Copy full SHA for 07ba9e9 - Browse repository at this point
Copy the full SHA 07ba9e9View commit details