- 16 3月, 2018 5 次提交
-
-
由 kennytm 提交于
Dedupe rand
-
由 kennytm 提交于
Implement import renaming with `_` (RFC 2166) cc https://github.com/rust-lang/rust/issues/48216
-
由 kennytm 提交于
rustbuild: Remove ThinLTO-related configuration This commit removes some ThinLTO/codegen unit cruft primarily only needed during the initial phase where we were adding ThinLTO support to rustc itself. The current bootstrap compiler knows about ThinLTO and has it enabled by default for multi-CGU builds which are also enabled by default. One CGU builds (aka disabling ThinLTO) can be achieved by configuring the number of codegen units to 1 for a particular builds. This also changes the defaults for our dist builders to go back to multiple CGUs. Unfortunately we're seriously bleeding for cycle time on the bots right now so we need to recover any time we can.
-
由 kennytm 提交于
MIPS testsuite fixes This PR adjusts various bits in the testsuite so that more stuff passes on mips*.
-
由 kennytm 提交于
Add crate name to "main function not found" error message. Fixes #44798 and rust-lang/cargo#4948. I was wondering if it might be cleaner to update the ui tests to add a simple `fn main() {}` for the unrelated tests. Let me know if you would prefer that.
-
- 15 3月, 2018 27 次提交
-
-
由 bors 提交于
Reword E0044 and message for `!Send` types - Reword E0044 help. - Change error message for types that don't implement `Send` CC #45092, #46678, #24909, #33307.
-
由 bors 提交于
Fallible allocation Implementing RFC#2116 [Fallible Allocation](https://github.com/rust-lang/rust/issues/48043) . Work in progress. Initially adding @Gankro's try_reserve for Vec.
-
由 Esteban Küber 提交于
-
由 Esteban Küber 提交于
-
由 Esteban Küber 提交于
-
由 Esteban Küber 提交于
Extend `rustc_on_unimplemented` to match on ADT without evaluating type arguments.
-
由 Esteban Küber 提交于
- Reword E0044 help. - Change error message for types that don't implement `Send`
-
由 bors 提交于
Stabilise feature(never_type). Introduce feature(exhaustive_patterns) This stabilizes `!`, removing the feature gate as well as the old defaulting-to-`()` behavior. The pattern exhaustiveness checks which were covered by `feature(never_type)` have been moved behind a new `feature(exhaustive_patterns)` gate.
-
由 bors 提交于
Rollup of 12 pull requests - Successful merges: #48765, #48831, #48840, #48964, #48970, #48971, #48981, #48988, #48991, #48966, #48993, #48874 - Failed merges:
-
由 Eric Huss 提交于
-
由 Eric Huss 提交于
-
由 Eric Huss 提交于
-
由 Eric Huss 提交于
-
由 Eric Huss 提交于
Fixes #44798 and rust-lang/cargo#4948.
-
由 bors 提交于
Update RLS r? @alexcrichton Includes https://github.com/rust-lang-nursery/rls/pull/762 which should fix the build.
-
由 kennytm 提交于
bump mipsel isa leval and enable fpxx This PR: * Bumps the default ISA level of the mipsel targets to `mips32r2`. The big endian mips targets are already built with `mips32r2`. This is the usual baseline for the MIPS ISA these days used by other projects, although it does drop support for the 4K processor (which was the only processor released with mips32 r1). Debian no longer supports pre-R2 processors. Using R2 also improves code generation in FPXX in certain circumstances. * Enables the FPXX floating point ABI[1] on 32-bit hard-float targets by default. This ABI adds some extra restrictions to the existing ABI which allows code to run on the two main floating point modes found on MIPS (FR0 and FR1) and remains compatible with the FR32 ABI currently in use. All code within an executable (including all shared libraries) must be compiled with FPXX/FP64 to be able to use MSA on 32-bit MIPS. * Enables the "nooddspreg" feature with FPXX. This feature is usually enabled whenever FPXX is. It also helps workaround some issues on Loongson processors. I'm hoping this will fix some test failures mentioned in #39013. * Adds the `fp64` feature to the MIPS whitelist. This feature must be enabled to use MSA on 32-bit MIPS, otherwise LLVM will complain. [1] See https://dmz-portal.mips.com/wiki/MIPS_O32_ABI_-_FR0_and_FR1_Interlinking
-
由 kennytm 提交于
fix #48816 don't print help on indirect compiler ICE https://github.com/rust-lang/rust/issues/48816#issuecomment-372817573
-
由 kennytm 提交于
Speed up SVH computation by using Fingerprint::combine() Fix #47297
-
由 kennytm 提交于
Clarify usage message for --remap-path-prefix.
-
由 kennytm 提交于
Add a test for #48070 Resolves #48070. The bug itself was fixed by #48770, but that PR didn't add a test for it. r? @nikomatsakis
-
由 kennytm 提交于
rustc: Don't invoke `lld` with an `@`-file Looks like LLD doesn't support this yet, so always try to use the OS before we fall back to using `@` cc https://github.com/rust-lang/rust/issues/48948
-
由 kennytm 提交于
Move librustc_typeck READMEs to rustc guide cc https://github.com/rust-lang-nursery/rustc-guide/issues/2 and #48478 Don't merge this before https://github.com/rust-lang-nursery/rustc-guide/pull/85 r? @nikomatsakis
-
由 kennytm 提交于
Add missing examples r? @QuietMisdreavus
-
由 kennytm 提交于
tweak code fences in the rustdoc book You can stack backticks to create "big code fences" if you're documenting some markdown and need to have code fences inside your code fences. This is especially important in this spot in the Rustdoc Book, because we're showing that using no language specifier on your code blocks is interpreted as using `rust`, but the code blocks here lose their code fences! `````````markdown ``````markdown Just showing some recursion, nbd. ```rust println!("sup"); ``` `````` (If you have edit powers in the rust-lang/rust repo, hit the edit button to view the source and see even more recursion :P) `````````
-
由 kennytm 提交于
Remove some unnecessary IdxSet methods This replaces `IdxSet:: reset_to_empty` with `IdxSet:: clear`, and `IdxSet::elems`/`IdxSet::each_bit` with `IdxSet::iter`. Based on some [comments on #rustc](https://botbot.me/mozilla/rustc/2018-01-23/?msg=96063396). r? @pnkfelix
-
由 kennytm 提交于
Fix blink when main theme is selected r? @QuietMisdreavus
-
由 kennytm 提交于
Add info message for -Wall command Users coming from other languages (namely C and C++) often expect to use a -Wall flag. Rustc doesn't support that, and previously it simply printed that it didn't recognize the "all" lint. This change makes rustc print out a help message, explaining: - Why there is no -Wall flag - How to view all the available warnings - Point out that the most commonly used warning is -Wunused - Instead of using a command-line flag, the user should consider a !#[warn(unused)] directive in the root of their crate. I tried to keep the language consistent with the other usage help. Comment if I should change anything. closes #10234, if accepted.
-
- 14 3月, 2018 8 次提交
-
-
由 Boris-Chengbiao Zhou 提交于
-
由 bors 提交于
Cache const eval queries fixes #48846 (I think, still running more perf tests, but tuple-stress stops recomputing any constants) r? @michaelwoerister
-
由 bors 提交于
Remove syntax and syntax_pos thread locals This moves `syntax` and `syntax_pos` globals into a struct which are pointed to by thread locals. Most of the changes here are indentation changes in test. It would probably be a good idea to ignore whitespace changes while reviewing. Some indentation is unchanged to avoid merge conflicts. r? @michaelwoerister
-
由 John Kåre Alsaker 提交于
-
由 snf 提交于
-
由 snf 提交于
-
由 snf 提交于
-
由 Vadim Petrochenkov 提交于
-