summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2017-04-24Prepare the 1.17.0 releaseAlex Crichton-1/+1
* Update channel we're building * Update the cargo submodule to the tip of the `rust-1.17.0` branch
2017-04-20Fixups of backportsAlex Crichton-1/+1
2017-04-20rustc_trans: do not treat byval as using up registers.Eduard-Mihai Burtescu-4/+24
2017-04-20Disable debuginfo when compiling toolsAlex Crichton-2/+7
Currently the Cargo binary has jumped from 14M to 34M on the beta channel, which appears to be due to the fact that we're compiling tools with debug information inside them. This additionally means that the `rls` binary is 62M right now! This wasn't an intentional change, so be sure to disable debuginfo when compiling tools as it's just intended for the standard library and compile for now.
2017-04-20Properly adjust filenames when multiple emissionsSimonas Kazlauskas-4/+21
Fixes #40993
2017-04-20Avoid type-checking addition and indexing twice.Eduard-Mihai Burtescu-11/+43
2017-04-19Rollup merge of #41397 - alexcrichton:beta-next, r=aidanhsCorey Farwell-12/+64
[beta] travis: Use upstream LLVM repositories for Fuchsia This is a backport of https://github.com/rust-lang/rust/pull/41130 which... Closes #41396
2017-04-19travis: Use upstream LLVM repositories for FuchsiaPetr Hosek-12/+64
The Fuchsia copies of LLVM repositories contain additional patches for work-in-progress features and there is some amount of churn that may break Rust. Use upstream LLVM repositories instead for building the toolchain used by the Fuchsia builder.
2017-04-18Fix link to book repoSteve Klabnik-1/+1
2017-04-13Rollup merge of #41274 - dhduvall:beta, r=nikomatsakisCorey Farwell-0/+0
[beta] Update compiler-rt to fix SPARC LLVM bug 11663.
2017-04-13Update compiler-rt to fix SPARC LLVM bug 11663.Danek Duvall-0/+0
2017-04-11use correct vault urlTim Neumann-1/+1
2017-04-04travis: Update sccache binariesAlex Crichton-26/+26
I've tracked down what I believe is the last spurious sccache failure on #40240 to behavior in mio (carllerche/mio#583), and this commit updates the binaries to a version which has that fix incorporated.
2017-04-04Bump beta to .3Alex Crichton-1/+1
2017-04-04Merge branch 'beta-src_is_git' of https://github.com/cuviper/rust into beta-nextAlex Crichton-24/+27
2017-04-04Fix ICE with nested macros in certain situations.Jeffrey Seyfried-1/+20
2017-04-04Ensure that macro resolutions in trait positions get finalized.Jeffrey Seyfried-3/+22
2017-04-04Only use cargo-vendor if building from git sourcesJosh Stone-24/+27
2017-04-03Rollup merge of #41048 - TimNN:centos5-vault-beta, r=alexcrichtonCorey Farwell-0/+6
[beta] Backport #41045: switch to vault.centos.org r? @alexcrichton
2017-04-04use fixed ip for vault.centos.org until updates have propagated to all mirrorsTim Neumann-1/+1
2017-04-04switch to vault.centos.orgTim Neumann-0/+6
2017-04-03travis: Update sccache againAlex Crichton-26/+26
Looks like the last version was built with mio 0.6.5 which now has known bugs against it. This build includes mio 0.6.6
2017-04-02mark build::cfg::start_new_block as inline(never)Ariel Ben-Yehuda-0/+3
LLVM has a bug - PR32488 - where it fails to deduplicate allocas in some circumstances. The function `start_new_block` has allocas totalling 1216 bytes, and when LLVM inlines several copies of that function into the recursive function `expr::into`, that function's stack space usage goes into tens of kiBs, causing stack overflows. Mark `start_new_block` as inline(never) to keep it from being inlined, getting stack usage under control. Fixes #40493. Fixes #40573.
2017-04-02keep the AST node-id when lowering ExprKind::RangeAriel Ben-Yehuda-59/+52
When the Range expression is the root of a constant, its node-id is used for the def-id of the body, so it has to be preserved in the AST -> HIR lowering. Fixes #40749.
2017-04-01Make the rustdoc sidebar white on `src` pagesWesley Wiser-6/+10
Fixes #40724
2017-04-01update LLVM with fix for PR32379Ariel Ben-Yehuda-0/+42
Fixes #40593.
2017-04-01store a copy of the Issue32230 info within TypeErrorAriel Ben-Yehuda-36/+69
The data can't be looked up from the region variable directly, because the region variable might have been destroyed at the end of a snapshot. Fixes #40000. Fixes #40743.
2017-03-31add regression test for #39984Niko Matsakis-0/+21
Fixes #39984
2017-03-31Revert "Auto merge of #39485 - canndrew:inference-fix-39297, r=nikomatsakis"Niko Matsakis-11/+36
This reverts commit dc0bb3f2839c13ab42feacd423f728fbfd2f2f7a, reversing changes made to e879aa43ef63962f8e4d797292194a9f40a22a13. This is a temporary step intended to fix regressions. A more comprehensive fix for type inference and dead-code is in the works.
2017-03-27Auto merge of #40684 - alexcrichton:another-bet-anext, r=brsonbors-81/+22
[beta] std: Back out backtrace pruning logic on beta It was discovered #40264 that this backtrace pruning logic is a little too aggressive, so while we figure how out to handle #40264 this commit backs out the changes on beta to prune frames. Note that other cosmetic changes, such as better path printing and such remain.
2017-03-27fix permissions of emsdk_portableTim Neumann-0/+4
2017-03-27travis: try to fix the build on emscriptenAriel Ben-Yehuda-1/+14
The emsdk-portable .tar.gz now extracts to emsdk-portable instead of emsdk_portable. Handle that.
2017-03-20std: Back out backtrace pruning logic on betaAlex Crichton-80/+4
It was discovered #40264 that this backtrace pruning logic is a little too aggressive, so while we figure how out to handle #40264 this commit backs out the changes on beta to prune frames. Note that other cosmetic changes, such as better path printing and such remain.
2017-03-20Bump beta to .2Alex Crichton-1/+1
2017-03-20Regression test for rust-lang/rust#40535Austin Bonander-0/+49
2017-03-20Correctly get source for metadata crate type;Austin Bonander-1/+2
replace `unwrap()` with `expect()`
2017-03-20Propagate expected type hints through struct literals.Eduard-Mihai Burtescu-8/+41
2017-03-20Rename expected_types_for_fn_args to expected_inputs_for_expected_output.Eduard-Mihai Burtescu-12/+12
2017-03-20Fix regression when `include!()`ing a `macro_rules!` containing a `$crate::` ↵Jeffrey Seyfried-1/+33
path.
2017-03-17Minor fixups to fix tidy errorsAlex Crichton-16/+9
2017-03-17Stabilize rc_raw feature, closes #37197Aaron Turon-54/+54
2017-03-17Stabilize ordering_chaining, closes #37053Aaron Turon-6/+2
2017-03-17Stabilize btree_range, closes #27787Aaron Turon-11/+3
2017-03-17Stabilize ptr_eq feature, closes #36497Aaron Turon-10/+2
2017-03-17Stabilize process_abort feature, closes #37838Aaron Turon-1/+1
2017-03-17Stabilize ptr_unaligned feature, closes #37955Aaron Turon-6/+2
2017-03-17Stabilize expect_err feature, closes #39041Aaron Turon-2/+1
2017-03-17Stabilize move_cell feature, closes #39264Aaron Turon-8/+4
2017-03-17Removes Default for Box<Path>.Clar Charr-14/+0
2017-03-17Make docs required againBrian Anderson-8/+3