summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update release notes for 1.17rust-1.17-relnotesBrian Anderson2017-04-271-0/+258
|
* Auto merge of #40434 - mattico:splice-update, r=alexcrichtonbors2017-04-258-8/+449
|\ | | | | | | | | | | | | | | | | | | | | Implement Vec::splice and String::splice (RFC 1432) RFC: rust-lang/rfcs#1432, tracking issue: #32310 A rebase of https://github.com/rust-lang/rust/pull/32355 with a few more tests. Let me know if you have any ideas for more tests. cc @SimonSapin
| * Add Splice forget testMatt Ickstadt2017-04-242-0/+15
| |
| * Add splice to the unstable book.Matt Ickstadt2017-04-232-0/+25
| |
| * Use Vec::splice impl in string::Splice::drop()Matt Ickstadt2017-04-231-15/+1
| |
| * Improve splice docs and testsMatt Ickstadt2017-04-234-4/+97
| |
| * Update splice implMatt Ickstadt2017-04-232-6/+22
| |
| * Add Vec::splice and String::spliceSimon Sapin2017-04-236-7/+313
| |
* | Auto merge of #40123 - TimNN:llvm40, r=alexcrichtonbors2017-04-2412-27/+55
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LLVM 4.0 Upgrade Since nobody has done this yet, I decided to get things started: **Todo:** * [x] push the relevant commits to `rust-lang/llvm` and `rust-lang/compiler-rt` * [x] cleanup `.gitmodules` * [x] Verify if there are any other commits from `rust-lang/llvm` which need backporting * [x] Investigate / fix debuginfo ("`<optimized out>`") failures * [x] Use correct emscripten version in docker image --- Closes #37609. --- **Test results:** Everything is green 🎉
| * | FIN: windows-gnu: statically link gcc_s, pthread with llvmTim Neumann2017-04-232-0/+5
| | |
| * | FIN: Compile LLVM with -fno-omit-frame-pointer on 32bit MinGW buildsTim Neumann2017-04-231-0/+7
| | | | | | | | | | | | to work around an apparently bad optimization.
| * | FIN: switch appveryor to mingw with posix threadsTim Neumann2017-04-231-4/+4
| | |
| * | FIN: ignore failing test on emscripten, see #41299Tim Neumann2017-04-231-0/+2
| | |
| * | FIN: update appveyor mingw descriptionTim Neumann2017-04-231-16/+5
| | |
| * | FIN: build comiler-rt wihout Thumb on armTim Neumann2017-04-231-0/+6
| | |
| * | FIN: disable backtrace printing for panic-runtime/abort* on ARMTim Neumann2017-04-232-2/+21
| | |
| * | FIN: update emscripten builderTim Neumann2017-04-232-5/+5
| | |
| * | FIN/CRT: adopt all applicable rust compiler-rt patchesTim Neumann2017-04-231-0/+0
| | |
| * | FIN/LLVM: new rust patches required for 4.0Tim Neumann2017-04-231-0/+0
| | |
| * | FIN/LLVM: adopt all applicable rust llvm patchesTim Neumann2017-04-231-0/+0
| | |
| * | FIN: update to upstream (llvm 4.0.1 + fastcomp 1.37.10) & compiler-rt 4.0Tim Neumann2017-04-232-0/+0
| | |
* | | Auto merge of #40634 - GuillaumeGomez:refcell-docs, r=steveklabnikbors2017-04-241-0/+9
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add more explanation on RefCell::get_mut Fixes #40203. r? @rust-lang/docs
| * | | Add more explanation on RefCell::get_mutGuillaume Gomez2017-04-241-0/+9
|/ / /
* | | Auto merge of #41494 - withoutboats:associated-consts-are-not-object-safe, ↵bors2017-04-242-0/+37
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r=eddyb Associated consts are not object safe. fixes #26847 r? @eddyb
| * | | Feature gate in test.Without Boats2017-04-241-0/+2
| | | |
| * | | Style.Without Boats2017-04-241-3/+3
| | | |
| * | | Fix type error.Without Boats2017-04-241-1/+1
| | | |
| * | | Add compile-fail test.Without Boats2017-04-242-1/+27
| | | |
| * | | Associated consts are not object safe.Without Boats2017-04-231-0/+9
|/ / /
* | | Auto merge of #41486 - arielb1:select-where, r=eddybbors2017-04-231-1/+6
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | traits::select: quickly filter out predicates from other traits this improves most pre-trans passes's performance by ~1%. That missed the spring cleaning PR because I wanted to ship it. r? @eddyb
| * | traits::select: quickly filter out predicates from other traitsAriel Ben-Yehuda2017-04-231-1/+6
| | | | | | | | | | | | this improves most pre-trans passes's performance by ~1%.
* | | Auto merge of #41485 - arielb1:dtorck-constraint, r=eddybbors2017-04-239-447/+320
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | cache dtorck constraints on ADTs This avoids visiting the fields of all structs multiple times, improving item-bodies checking time by 10% (!). Not sure whether we want this in 1.18 or 1.19. It's a big-ish patch, but the 10% win is very tempting. r? @eddyb
| * | cache ADT dtorck resultsAriel Ben-Yehuda2017-04-238-398/+299
| | | | | | | | | | | | | | | This avoids visiting the fields of all structs multiple times, improving item-bodies checking time by 10% (!).
| * | clean-up adt_sized_constraint now that it uses on-demandAriel Ben-Yehuda2017-04-233-49/+21
|/ /
* | Auto merge of #41408 - eddyb:poly-const-eval, r=arielb1bors2017-04-2323-219/+331
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | rustc: generalize monomorphic_const_eval to polymorphic constants. With the addition of `Substs` to the query key, we can now evaluate *and cache* polymorphic constants. Fixes #23898 by replacing the crippled explicit-discriminant-only local-crate-only `lookup_variant_by_id` with `ConstVal::Variant` which can describe variants irrespective of their discriminant. Fixes #41394 by fixing #23898 (for the original testcase) and by not looping past the first discriminant.
| * | rustc_const_eval: support all unit enum variants.Eduard-Mihai Burtescu2017-04-2313-67/+180
| | |
| * | rustc_const_eval: CallOn isn't needed, typeck/const-qualif handle those cases.Eduard-Mihai Burtescu2017-04-232-3/+1
| | |
| * | rustc: make the const-eval cache polymorphic.Eduard-Mihai Burtescu2017-04-2314-149/+150
|/ /
* | Auto merge of #41437 - cuviper:remove-unstable-deprecated, r=alexcrichtonbors2017-04-2334-1284/+103
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove items that are unstable and deprecated This removes unstable items that have been deprecated for more than one cycle. - Since 1.16.0, `#![feature(enumset)]` - All of `mod collections::enum_set` - Since 1.15.0, `#![feature(borrow_state)]` - `cell::BorrowState` - `RefCell::borrow_state()` - Since 1.15.0, `#![feature(is_unique)]` - `Rc::is_unique()` (made private like `Arc::is_unique()`) - Since 1.15.0, `#![feature(rc_would_unwrap)]` - `Rc::would_wrap()` - Since 1.13.0, `#![feature(binary_heap_extras)]` - `BinaryHeap::push_pop()` - `BinaryHeap::replace()` - Since 1.12.0, `#![feature(as_unsafe_cell)]` - `Cell::as_unsafe_cell()` - `RefCell::as_unsafe_cell()` - Since 1.12.0, `#![feature(map_entry_recover_keys)]` - `btree_map::OccupiedEntry::remove_pair()` - `hash_map::OccupiedEntry::remove_pair()` - Since 1.11.0, `#![feature(float_extras)]` - `Float::nan()` - `Float::infinity()` - `Float::neg_infinity()` - `Float::neg_zero()` - `Float::zero()` - `Float::one()` - `Float::integer_decode()` - `f32::integer_decode()` - `f32::ldexp()` - `f32::frexp()` - `f32::next_after()` - `f64::integer_decode()` - `f64::ldexp()` - `f64::frexp()` - `f64::next_after()` - Since 1.11.0, `#![feature(zero_one)]` - `num::Zero` - `num::One`
| * | Remove unused import.Corey Farwell2017-04-221-1/+1
| | |
| * | Remove float_extrasJosh Stone2017-04-2012-559/+74
| | | | | | | | | | | | [unstable, deprecated since 1.11.0]
| * | Remove num::{Zero,One}Josh Stone2017-04-207-99/+26
| | | | | | | | | | | | [unstable, deprecated since 1.11.0]
| * | Remove RefCell::borrow_stateJosh Stone2017-04-204-55/+0
| | | | | | | | | | | | [unstable, deprecated since 1.15.0]
| * | Remove {Cell,RefCell}::as_unsafe_cellJosh Stone2017-04-203-51/+0
| | | | | | | | | | | | [unstable, deprecated since 1.12.0]
| * | Privatize Rc::is_uniqueJosh Stone2017-04-203-13/+1
| | | | | | | | | | | | [unstable, deprecated since 1.15.0]
| * | Remove Rc::would_wrapJosh Stone2017-04-203-19/+0
| | | | | | | | | | | | [unstable, deprecated since 1.15.0]
| * | Remove OccupiedEntry::remove_pairJosh Stone2017-04-204-20/+0
| | | | | | | | | | | | [unstable, deprecated since 1.12.0]
| * | Remove BinaryHeap::{push_pop,replace}Josh Stone2017-04-206-124/+0
| | | | | | | | | | | | [unstable, deprecated since 1.13.0]
| * | Remove EnumSetJosh Stone2017-04-205-343/+1
| | | | | | | | | | | | [unstable, deprecated since 1.16.0]
* | | Auto merge of #41469 - arielb1:rustc-spring-cleaning, r=eddybbors2017-04-2247-185/+322
|\ \ \ | | | | | | | | | | | | | | | | | | | | Performance audit, Spring 2017 Fix up some quite important performance "surprises" I've found running callgrind on rustc.