summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2020-11-16build-manifest: strip newline from rustc versionPietro Albini-4/+4
2020-11-16bump to the stable channelPietro Albini-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-15Miri is not required on betaMark Rousskov-2/+2
2020-11-15Replace run_compiler with RunCompiler builder pattern.Darshan Kathiriya-10/+5
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-15Bump Rustfmt and RLSAlessandro Ghedini-5/+6
Should hopefully fix #78341 and #78340.
2020-11-15Revert "Revert "resolve: Avoid "self-confirming" import resolutions in one ↵Mark Rousskov-24/+5
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-07Auto merge of #78146 - Mark-Simulacrum:revert-76605, r=petrochenkovbors-24/+45
[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-06Fix Ubuntu download URLJonas Schievink-1/+1
2020-11-06Tweak `if let` suggestion to be more liberal with suggestion and to not ICEEsteban Küber-12/+28
Fix #77218. Fix #77238.
2020-11-06Do not ICE with TraitPredicates containing [type error]Esteban Küber-0/+59
Fix #77919.
2020-11-06Disable MatchBranchSimplificationTomasz Miąsko-150/+172
This optimization can result in unsoundness, because it introduces additional uses of a place holding the discriminant value without ensuring that it is valid to do so.
2020-11-06Disable "optimization to avoid load of address" in InstCombineTomasz Miąsko-3/+3
2020-11-06Test with NLL explicitlyYuki Okushi-4/+19
2020-11-06Do not try to report on closures to avoid ICEYuki Okushi-0/+27
2020-11-06revert #75443 update mir validatorBastian Kauschke-27/+0
2020-11-06Do not ICE on invalid inputEsteban Küber-0/+76
2020-11-06Revert "Promote missing_fragment_specifier to hard error"Mark Rousskov-16/+37
This reverts commit 02eae432e7476a0686633a8c2b7cb1d5aab1bd2c.
2020-11-06Revert "Move macro test to ui/macros"Mark Rousskov-0/+0
This reverts commit 84fcd0dc991e2f5b9035d118d8c016f35ab37d0a.
2020-11-05Add delay_span_bug to no longer ICEkadmin-0/+16
2020-10-21Auto merge of #78148 - Mark-Simulacrum:beta-76980, r=pietroalbinibors-1/+1
[beta] Disable ThinLTO for x86_64-unknown-linux-gnu Temporarily addresses #76980 for 1.48 release. r? `@pietroalbini`
2020-10-20Disable ThinLTO for x86_64-unknown-linux-gnuMark Rousskov-1/+1
Temporarily addresses #76980.
2020-10-20bootstrap: set correct path for the build-manifest binaryPietro Albini-1/+1
2020-10-20build-manifest: bundle the rustc version in the binaryPietro Albini-15/+7
2020-10-20build-manifest: use var_os instead of var to check if vars existPietro Albini-3/+3
This will prevent the tool mistakenly ignoring the variables if they happen to contain non-utf8 data.
2020-10-20build-manifest: allow configuring the number of threadsPietro Albini-7/+13
2020-10-20ci: also build the build-manifest component on dist-x86_64-linuxPietro Albini-1/+3
2020-10-20bootstrap: add --include-default-paths to ./x.pyPietro Albini-21/+30
2020-10-20bootstrap: add disabled by default build-manifest dist componentPietro Albini-0/+68
2020-10-20build-manifest: accept the Rust version instead of the monorepo pathPietro Albini-16/+9
This commit changes the way build-manifest is invoked, to let it accept the Rust version directly instead of requiring the path of the Rust monorepo and letting build-manifest figure out the path on its own. This allows to run build-manifest without a clone of the monorepo.
2020-10-20build-manifest: stop generating numbered channel names except for stablePietro Albini-4/+5
This fixes numbered channel names being created for the nightly channel, and once the root cause of this rides the trains, for beta.
2020-10-20rustc_parse: More precise spans for `tuple.0.0`Vadim Petrochenkov-12/+12
2020-10-20bootstrap: always use the Rust version in package namesPietro Albini-111/+11
The format of the tarballs produced by CI is roughly the following: {component}-{release}-{target}.{ext} While on the beta and nightly channels `{release}` is just the channel name, on the stable channel is either the Rust version or the version of the component we're shipping: cargo-0.47.0-x86_64-unknown-linux-gnu.tar.xz clippy-0.0.212-x86_64-unknown-linux-gnu.tar.xz llvm-tools-1.46.0-x86_64-unknown-linux-gnu.tar.xz miri-0.1.0-x86_64-unknown-linux-gnu.tar.xz rls-1.41.0-x86_64-unknown-linux-gnu.tar.xz rust-1.46.0-x86_64-unknown-linux-gnu.tar.xz ... This makes it really hard to get the package URL without having access to the manifest (and there is no manifest on ci-artifacts.rlo), as there is no consistent version number to use. This commit addresses the problem by always using the Rust version number as `{release}` for the stable channel, regardless of the version number of the component we're shipping. I chose that instead of "stable" to avoid breaking the URL scheme *that* much. Rustup should not be affected by this change, as it fetches the URLs from the manifest. Unfortunately we don't have a way to test other clients before making a stable release, as this change only affects the stable channel.
2020-10-14Rollup merge of #77863 - JohnTitor:remove-mark-i-m, r=pietroalbiniYuki Okushi-1/+1
Remove `mark-i-m` from rustc-dev-guide maintainers They aren't a maintainer anymore and it causes failure on our CI now: https://github.com/rust-lang-ci/rust/runs/1243600577
2020-10-14[beta] Update cargoEric Huss-0/+0
2020-10-08Update RLS and RustfmtIgor Matuszewski-5/+5
2020-10-08Add regression test for SimplifyBranchSame miscompilationTomasz Miąsko-0/+21
2020-10-08build-manifest: use BufReaderPietro Albini-2/+2
2020-10-08build-manifest: avoid collecting SHAs in parallel on legacy modePietro Albini-0/+8
This avoids overloading the old server, and disrupting the other programs running on it.
2020-10-08build-manifest: calculate checksums lazily and in parallelPietro Albini-21/+100
This commit improves the way build-manifest calculates the checksums included in the manifest, speeding it up: * Instead of calculating all the hashes beforehand and then using the ones we need, the manifest is first generated with placeholder hashes, and then a function walks through the manifest and calculates only the needed checksums. * Calculating the checksums is now done in parallel with rayon, to better utilize all the available disk bandwidth. * Calculating the checksums now uses the sha2 crate instead of the sha256sum CLI tool: this avoids the overhead of calling another process, but more importantly uses hardware acceleration whenever available (the CLI tool doesn't support it at all).
2020-10-08build-manifest: move generating a target to the manifest modPietro Albini-40/+55
2020-10-08build-manifest: split the manifest struct definition in a separate filePietro Albini-52/+55
2020-10-08build-manifest: keep legacy behavior when invoking through ./x.py distPietro Albini-20/+21
2020-10-08bootstrap: add ./x.py run src/tools/build-manifestPietro Albini-2/+44
2020-10-08Bump to released compilerMark Rousskov-2/+2
2020-10-07Update fulldeps testMark Rousskov-27/+16
2020-10-061.48.0 beta branchMark Rousskov-6/+6