summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2020-11-16Auto merge of #79096 - pietroalbini:stable-build-manifest-newline, ↵ 1.48.0bors-4/+4
r=Mark-Simulacrum build-manifest: strip newline from rustc version While running the release process for Rust 1.48.0 I discovered a bug in `build-manifest`: it's not trimming the newline from `src/version`, and it tries to inspect tarballs called `rustc-1.48.0\n-x86_64-unknown-linux-gnu.tar.xz`. The bug only affects stable releases so this is why we're only seeing it right now. r? `@Mark-Simulacrum` We'll need to backport this to beta and nightly too.
2020-11-16build-manifest: strip newline from rustc versionPietro Albini-4/+4
2020-11-16Auto merge of #79091 - pietroalbini:stable-next, r=pietroalbinibors-14/+178
Rust 1.48.0 stable release This PR bumps the 1.48 beta branch to the 1.48 stable branch, and applies these last minute backports: * #77939 - Ensure that the source code display is working with DOS backline * #77508 - Fix capitalization in blog post name * #78559 - Add LLVM upgrades from 7 to 10 to RELEASES.md * #78364 - Update RELEASES.md for 1.48.0 r? `@ghost` cc `@rust-lang/release`
2020-11-16bump to the stable channelPietro Albini-1/+1
2020-11-16Update RELEASES.mdXAMPPRocky-1/+6
2020-11-16Update RELEASES.mdXAMPPRocky-0/+11
2020-11-16Update RELEASES.mdXAMPPRocky-3/+3
2020-11-16Update RELEASES.mdXAMPPRocky-4/+4
2020-11-16Update RELEASES.mdXAMPPRocky-7/+3
2020-11-16Update RELEASES.mdXAMPPRocky-1/+1
2020-11-16Update RELEASES.mdXAMPPRocky-1/+1
2020-11-16Update RELEASES.mdXAMPPRocky-5/+9
2020-11-16Apply suggestions from code reviewXAMPPRocky-5/+5
Co-authored-by: Camelid <camelidcamel@gmail.com> Co-authored-by: Mark Rousskov <mark.simulacrum@gmail.com>
2020-11-16Apply suggestions from code reviewXAMPPRocky-6/+6
Co-authored-by: Vadim Petrochenkov <vadim.petrochenkov@gmail.com> Co-authored-by: Jonas Schievink <jonasschievink@gmail.com> Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-11-16Update RELEASES.mdXAMPPRocky-1/+1
Co-authored-by: Vadim Petrochenkov <vadim.petrochenkov@gmail.com>
2020-11-16Update RELEASES.mdXAMPPRocky-0/+3
2020-11-16Update RELEASES.md for 1.48.0Erin Power-0/+122
2020-11-16Add LLVM upgrades from 7 to 10 to RELEASES.mdMike Hommey-0/+8
Fixes #78464
2020-11-16Fix capitalization in blog post nameCamelid-1/+1
2020-11-16Add test to ensure that no DOS backline (\r\n) doesn't create extra backline ↵Guillaume Gomez-14/+27
in source rendering
2020-11-16Ensure that the source code display is working with DOS backlineGuillaume Gomez-0/+2
2020-11-15Auto merge of #79075 - Mark-Simulacrum:beta-next, r=Mark-Simulacrumbors-201/+342
[beta] next This backports: * Avoid installing external LLVM dylibs #78986 * Install CI llvm into the library directory #79074 * Revert "Revert "resolve: Avoid "self-confirming" import resolutions in one more case"" #78784 * Bump Rustfmt and RLS #78775 * Enforce no-move rule of ReentrantMutex using Pin and fix UB in stdio #77801 For RLS/rustfmt compilation to succeed: * change the order of type arguments on ControlFlow #76614 * Add ControlFlow::is_{break,continue} methods #78200 * Replace run_compiler with RunCompiler builder pattern #77649 As a dependency of #77801: * Add Pin::static_ref, static_mut. #77726
2020-11-15Miri is not required on betaMark Rousskov-2/+2
2020-11-15Replace run_compiler with RunCompiler builder pattern.Darshan Kathiriya-12/+50
RunCompiler::new takes non-optional params, and optional params can be set using set_*field_name* method. finally `run` will forward all fields to `run_compiler`.
2020-11-15Add missing `mut`.Mara Bos-1/+1
Co-authored-by: David Tolnay <dtolnay@gmail.com>
2020-11-15Reword safety guarantee of Pin::static_{ref,mut}.Mara Bos-6/+6
Co-authored-by: Peter Todd <pete@petertodd.org>
2020-11-15Add Pin::static_mut.Mara Bos-0/+14
2020-11-15Rename Pin::new_static to Pin::static_ref.Mara Bos-1/+1
2020-11-15Make Pin::new_static const.Mara Bos-1/+2
2020-11-15Add Pin::new_static.Mara Bos-0/+13
2020-11-15Pin the ReentrantMutexes in sys::io::stdio.Mara Bos-25/+30
The code before this change misused the ReentrantMutexes, by calling init() on them and moving them afterwards. Now that ReentrantMutex requires Pin for init(), this mistake is no longer easy to make.
2020-11-15Return a Pin from SyncOnceCell::get_or_init_pin.Mara Bos-4/+7
2020-11-15Add (internal-only) SyncOnceCell::get_or_init_pin.Mara Bos-0/+52
2020-11-15Update ReentrantMutex tests to use Pin.Mara Bos-15/+21
2020-11-15Use Pin for the 'don't move' requirement of ReentrantMutex.Mara Bos-33/+19
2020-11-15Remove unnecessary import of `crate::marker` in std::sys_common::remutex.Mara Bos-2/+1
It was used for marker::Send, but Send is already in scope.
2020-11-15Fix outdated comment about not needing to flush stderr.Mara Bos-7/+3
2020-11-15Don't re-export std::ops::ControlFlow in the compiler.Leonora Tindall-4/+3
2020-11-15change the order of type arguments on ControlFlowLeonora Tindall-25/+18
This allows ControlFlow<BreakType> which is much more ergonomic for common iterator combinator use cases.
2020-11-15Add `ControlFlow::is_{break,continue}` methodsLeSeulArtichaut-0/+14
2020-11-15Bump Rustfmt and RLSAlessandro Ghedini-51/+64
Should hopefully fix #78341 and #78340.
2020-11-15Revert "Revert "resolve: Avoid "self-confirming" import resolutions in one ↵Mark Rousskov-26/+16
more case"" This reverts commit b20bce8ce54ea9d47c2e3eb0b17cbb6baf916ae2. It retains the test added in that commit as a check-pass test, intended to prevent future (unintentional) regressions.
2020-11-15Install CI llvm into the library directoryMark Rousskov-1/+4
2020-11-15Avoid installing external LLVM dylibsMark Rousskov-0/+16
If the LLVM was externally provided, then we don't currently copy artifacts into the sysroot. This is not necessarily the right choice (in particular, it will require the LLVM dylib to be in the linker's load path at runtime), but the common use case for external LLVMs is distribution provided LLVMs, and in that case they're usually in the standard search path (e.g., /usr/lib) and copying them here is going to cause problems as we may end up with the wrong files and isn't what distributions want. This behavior may be revisited in the future though.
2020-11-15Auto merge of #79008 - the8472:disable-cfr, r=Mark-Simulacrumbors-1/+1
[beta] always disable copy_file_range to avoid EOVERFLOW errors A bigger hammer as alternative to #79007 Pro: will certainly fix the issue Cons: will disable copy_file_range for everyone Resolves #78979
2020-11-12[beta] always disable copy_file_range to avoid EOVERFLOW errorsThe8472-1/+1
2020-11-08Auto merge of #78845 - the8472:remove-needs-drop, r=Mark-Simulacrumbors-8/+4
[beta] try to work around type normalization regression This just removes the offending lines that trigger #78139. I have doubts that this will actually solve the issue but it's simple enough to try. This PR needs a crater run for the failing crate.
2020-11-07remove needs_dropThe8472-8/+4
2020-11-07Auto merge of #78146 - Mark-Simulacrum:revert-76605, r=petrochenkovbors-40/+131
[beta] Revert "Promote missing_fragment_specifier to hard error #75516" This reverts "Promote missing_fragment_specifier to hard error #75516" on just beta. I would like us to explore a more principled fix, perhaps along the lines `@petrochenkov` suggested in #76605, on master when we have more time to test it but I don't want us shipping the breakage in the meantime. I don't personally feel comfortable immediately backporting anything more than a revert here. cc `@matklad` This matches #77456 for 1.47 but targets 1.48 (current beta) instead. r? `@petrochenkov`
2020-11-07Auto merge of #78783 - Mark-Simulacrum:beta-next, r=Mark-Simulacrumbors-301/+492
[beta] backports This backports a number of PRs to beta: * Add delay_span_bug to no longer ICE #78645 * Do not ICE on invalid input #78422 * revert #75443, update mir validator #78410 * Do not try to report on closures to avoid ICE #78268 * Disable "optimization to avoid load of address" in InstCombine #78195 * Disable MatchBranchSimplification #78151 * Do not ICE with TraitPredicates containing [type error] #77930 * Tweak `if let` suggestion to be more liberal with suggestion and to not ICE #77283 * Use different mirror for linux headers in musl-toolchain CI script. #78316