| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-04-22 | update tests for migrate mode by default | Matthew Jasper | -3/+0 | |
| 2019-03-08 | Rollup merge of #58918 - gilescope:async-await-issue-testcase, r=petrochenkov | Pietro Albini | -0/+28 | |
| Regression test added for an async ICE. Regression test for #57084 (as suggested in issue). | ||||
| 2019-03-06 | Desugared asyncs into generators and minimised. | Giles Cope | -12/+13 | |
| 2019-03-05 | Removed whitespace | Giles Cope | -1/+1 | |
| 2019-03-05 | Unrolled await macro. | Giles Cope | -0/+27 | |
| Was then able to the minimise the reproduction a little further. | ||||
| 2019-03-04 | Monomorphize generator field types for debuginfo | Wim Looman | -0/+27 | |
| 2019-01-27 | Mark non-static generators as always Unpin | Wim Looman | -1/+19 | |
| 2019-01-27 | impl Generator for Pin<Box<Generator>> | Wim Looman | -0/+13 | |
| 2019-01-27 | Change generator trait to use pinning | Wim Looman | -50/+64 | |
| 2019-01-26 | Replace deprecated ATOMIC_INIT consts | Mark Rousskov | -6/+6 | |
| 2018-12-30 | Remove unused nll debug flags | Matthew Jasper | -1/+0 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -250/+0 | |
| 2018-09-26 | Add `#![allow(..)]` as necessary to get re-migrated run-pass tests compiling ↵ | Felix S. Klock II | -0/+6 | |
| with clean stderr again. Most were added mechanically. | ||||
| 2018-09-26 | Migrate `src/test/ui/run-pass/*` back to `src/test/run-pass/`. | Felix S. Klock II | -0/+1072 | |
| Fix #54047 | ||||
| 2018-09-06 | Migrated remaining `src/test/run-pass/` subdirectories to ↵ | Felix S. Klock II | -1026/+0 | |
| `src/test/ui/run-pass/`. | ||||
| 2018-08-07 | Record adjustments and original type for expressions in the generator interior | John Kåre Alsaker | -0/+35 | |
| 2018-07-31 | Don't count MIR locals as borrowed after StorageDead when finding locals ↵ | John Kåre Alsaker | -0/+25 | |
| live across a yield terminator | ||||
| 2018-03-26 | Stabilize conservative_impl_trait | Taylor Cramer | -5/+5 | |
| 2018-03-25 | Rollup merge of #49194 - Zoxc:unsafe-generator, r=cramertj | kennytm | -45/+49 | |
| Make resuming generators unsafe instead of the creation of immovable generators cc @withoutboats Fixes #47787 | ||||
| 2018-03-22 | Added flag to disable user type assertion. | David Wood | -0/+1 | |
| 2018-03-21 | Make resuming generators unsafe instead of the creation of immovable ↵ | John Kåre Alsaker | -45/+49 | |
| generators. Fixes #47787 | ||||
| 2018-01-30 | Force locals to be live after they are borrowed for immovable generators. ↵ | John Kåre Alsaker | -0/+28 | |
| Fixes #47736 | ||||
| 2018-01-23 | Make immovable generators unsafe | John Kåre Alsaker | -6/+8 | |
| 2018-01-23 | Adds support for immovable generators. Move checking of invalid borrows ↵ | John Kåre Alsaker | -0/+139 | |
| across suspension points to borrowck. Fixes #44197, #45259 and #45093. | ||||
| 2018-01-19 | Run yield-subtype test on nll mode too as a regression check | Santiago Pastorino | -0/+3 | |
| 2017-12-30 | Add trailing newlines to files which have no trailing newlines. | kennytm | -3/+3 | |
| 2017-11-19 | std: Add a new wasm32-unknown-unknown target | Alex Crichton | -0/+6 | |
| This commit adds a new target to the compiler: wasm32-unknown-unknown. This target is a reimagining of what it looks like to generate WebAssembly code from Rust. Instead of using Emscripten which can bring with it a weighty runtime this instead is a target which uses only the LLVM backend for WebAssembly and a "custom linker" for now which will hopefully one day be direct calls to lld. Notable features of this target include: * There is zero runtime footprint. The target assumes nothing exists other than the wasm32 instruction set. * There is zero toolchain footprint beyond adding the target. No custom linker is needed, rustc contains everything. * Very small wasm modules can be generated directly from Rust code using this target. * Most of the standard library is stubbed out to return an error, but anything related to allocation works (aka `HashMap`, `Vec`, etc). * Naturally, any `#[no_std]` crate should be 100% compatible with this new target. This target is currently somewhat janky due to how linking works. The "linking" is currently unconditional whole program LTO (aka LLVM is being used as a linker). Naturally that means compiling programs is pretty slow! Eventually though this target should have a linker. This target is also intended to be quite experimental. I'm hoping that this can act as a catalyst for further experimentation in Rust with WebAssembly. Breaking changes are very likely to land to this target, so it's not recommended to rely on it in any critical capacity yet. We'll let you know when it's "production ready". --- Currently testing-wise this target is looking pretty good but isn't complete. I've got almost the entire `run-pass` test suite working with this target (lots of tests ignored, but many passing as well). The `core` test suite is still getting LLVM bugs fixed to get that working and will take some time. Relatively simple programs all seem to work though! --- It's worth nothing that you may not immediately see the "smallest possible wasm module" for the input you feed to rustc. For various reasons it's very difficult to get rid of the final "bloat" in vanilla rustc (again, a real linker should fix all this). For now what you'll have to do is: cargo install --git https://github.com/alexcrichton/wasm-gc wasm-gc foo.wasm bar.wasm And then `bar.wasm` should be the smallest we can get it! --- In any case for now I'd love feedback on this, particularly on the various integration points if you've got better ideas of how to approach them! | ||||
| 2017-10-17 | test: Update Emscripten failures/passing | Alex Crichton | -1/+1 | |
| All tests should now have annotation for *why* they're ignored on emscripten. A few tests no longer need such an annotation as well! Closes #41299 | ||||
| 2017-09-20 | address review comments | Ariel Ben-Yehuda | -0/+30 | |
| 2017-09-20 | Mark yields after visiting subexpressions. Never ignore yields for scopes in ↵ | John Kåre Alsaker | -21/+0 | |
| bindings. | ||||
| 2017-09-20 | Only consider yields coming after the expressions when computing generator ↵ | John Kåre Alsaker | -0/+62 | |
| interiors | ||||
| 2017-09-13 | Analyse storage liveness and preserve it during generator transformation | John Kåre Alsaker | -0/+30 | |
| 2017-08-30 | rustc: Fix reachability with cross-crate generators | Alex Crichton | -0/+45 | |
| Same solution as in f2df1857 Closes #44181 | ||||
| 2017-08-27 | Ignore a threaded test on emscripten | Alex Crichton | -0/+1 | |
| 2017-08-11 | Fix xcrate generator test | Alex Crichton | -1/+1 | |
| 2017-08-09 | Add a failing xcrate generator test | Alex Crichton | -5/+18 | |
| 2017-08-09 | Initial pass review comments | Alex Crichton | -2/+57 | |
| 2017-07-28 | Fix tests | John Kåre Alsaker | -23/+23 | |
| 2017-07-28 | Convert to spaces | John Kåre Alsaker | -4/+4 | |
| 2017-07-28 | Remove support for `gen arg` | Alex Crichton | -71/+25 | |
| 2017-07-28 | Fix a bug with yielding subtypes of the yield type. | John Kåre Alsaker | -0/+23 | |
| 2017-07-28 | Add a test case for conditional drop | Alex Crichton | -0/+65 | |
| 2017-07-28 | Fix tests | John Kåre Alsaker | -11/+16 | |
| 2017-07-28 | Use FIXME instead of TODO | John Kåre Alsaker | -1/+1 | |
| 2017-07-28 | Ensure upvars are dropped when generators have never been resumed | John Kåre Alsaker | -4/+2 | |
| 2017-07-28 | Make yield and gen arg outside generator literals an error and update tests | John Kåre Alsaker | -5/+6 | |
| 2017-07-28 | Add some generator pass/fail tests | Alex Crichton | -0/+442 | |
| 2017-07-28 | Fix tests | Alex Crichton | -4/+7 | |
| 2017-07-28 | Added some tests | John Kåre Alsaker | -0/+33 | |
| 2017-07-28 | Fix tidy warnings | Alex Crichton | -10/+10 | |
