| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-03-01 | Address comments | John Kåre Alsaker | -5/+8 | |
| 2019-03-01 | Add support for using a jobserver with Rayon | John Kåre Alsaker | -32/+172 | |
| 2019-02-28 | update rustdoc coverage tests with new table layout | QuietMisdreavus | -80/+51 | |
| 2019-02-28 | tweak docs for rustdoc's `--show-coverage` | QuietMisdreavus | -4/+8 | |
| 2019-02-28 | track items per-file instead of per-type | QuietMisdreavus | -117/+33 | |
| 2019-02-28 | update docs for doc coverage | QuietMisdreavus | -2/+4 | |
| 2019-02-28 | add tests for doc coverage | QuietMisdreavus | -0/+251 | |
| 2019-02-28 | tweak wording of extern types | QuietMisdreavus | -1/+1 | |
| 2019-02-28 | add a coverage mode for private items | QuietMisdreavus | -3/+20 | |
| 2019-02-28 | print doc coverage as a table of individual item types | QuietMisdreavus | -42/+166 | |
| 2019-02-28 | refactor: combine item count numbers into a new struct | QuietMisdreavus | -29/+57 | |
| 2019-02-28 | count fewer items in calculate-doc-coverage | QuietMisdreavus | -1/+5 | |
| 2019-02-28 | tabs -> spaces | QuietMisdreavus | -4/+4 | |
| 2019-02-28 | add option to calculate documentation coverage | QuietMisdreavus | -4/+167 | |
| 2019-02-28 | Fixed a syntax error in the pin docs | Alex Gaynor | -1/+1 | |
| 2019-02-28 | fixed tests again | Marcel Hellwig | -14/+12 | |
| 2019-02-28 | Introduce rustc_interface and move some methods there | John Kåre Alsaker | -1055/+1303 | |
| 2019-02-28 | Move rustdoc-js testing into compiletest | Guillaume Gomez | -53/+42 | |
| 2019-02-28 | Clarify distinction between floor() and trunc() | Jon Gjengset | -8/+16 | |
| 2019-02-28 | Auto merge of #57760 - dlrobertson:varargs1, r=alexreg | bors | -902/+1778 | |
| Support defining C compatible variadic functions ## Summary Add support for defining C compatible variadic functions in unsafe rust with `extern "C"` according to [RFC 2137]. ## Details ### Parsing When parsing a user defined function that is `unsafe` and `extern "C"` allow variadic signatures and inject a "spoofed" `VaList` in the new functions signature. This allows the user to interact with the variadic arguments via a `VaList` instead of manually using `va_start` and `va_end` (See [RFC 2137] for details). ### Codegen When running codegen for a variadic function, remove the "spoofed" `VaList` from the function signature and inject `va_start` when the arg local references are created for the function and `va_end` on return. ## TODO - [x] Get feedback on injecting `va_start/va_end` in MIR vs codegen - [x] Properly inject `va_end` - It seems like it should be possible to inject `va_end` on the `TerminatorKind::Return`. I just need to figure out how to get the `LocalRef` here. - [x] Properly call Rust defined C variadic functions in Rust - The spoofed `VaList` causes problems here. Related to: #44930 r? @ghost [RFC 2137]: https://github.com/rust-lang/rfcs/blob/master/text/2137-variadic.md | ||||
| 2019-02-28 | add feature flag to test | Marcel Hellwig | -0/+1 | |
| 2019-02-28 | Update src/libcore/mem.rs | Mazdak Farrokhzad | -1/+1 | |
| Co-Authored-By: RalfJung <post@ralfj.de> | ||||
| 2019-02-28 | Ensure `record_layout_for_printing()` is inlined. | Nicholas Nethercote | -10/+12 | |
| This reduces instruction counts for the `ctfe-stress-2` benchmark by about 1%. | ||||
| 2019-02-28 | fixed nonzero tests | Marcel Hellwig | -4/+3 | |
| 2019-02-28 | Make `Unique::as_ptr`, `NonNull::dangling` and `NonNull::cast` const | Tim | -3/+97 | |
| Make `Unique::as_ptr` const without feature attribute as it's unstable Make `NonNull::dangling` and `NonNull::cast` const with `feature = "const_ptr_nonnull"` | ||||
| 2019-02-27 | Update edition-guide | Eric Huss | -1/+1 | |
| 2019-02-27 | Introduce assembly tests | Denys Zariaiev | -141/+328 | |
| 2019-02-27 | allow specifying attributes for tool lints | Andy Russell | -7/+19 | |
| 2019-02-28 | Fix rebase fail | Taiki Endo | -7/+8 | |
| 2019-02-28 | Fix some imports and paths | Taiki Endo | -6/+2 | |
| 2019-02-28 | Fix error in tag-that-dare-not-speak-its-name | Taiki Endo | -2/+1 | |
| 2019-02-28 | Fix errors in test/ui | Taiki Endo | -3/+12 | |
| 2019-02-28 | Revert removed #![feature(nll)] | Taiki Endo | -0/+1 | |
| 2019-02-28 | Fix #[macro_use] extern crate in sys/cloudabi | Taiki Endo | -2/+1 | |
| 2019-02-28 | libstd => 2018 | Taiki Endo | -2040/+2005 | |
| 2019-02-27 | improve readability | Ralf Jung | -1/+1 | |
| 2019-02-27 | replaced nonzeroparseerror with regular interror | Marcel Hellwig | -99/+23 | |
| 2019-02-27 | Don't promote function calls to nonpromotable things | Oliver Scherer | -5/+20 | |
| 2019-02-27 | Whitelist containers that allow older toolchains | Alex Crichton | -1/+9 | |
| We'll use this as a temporary measure to get an LLVM update landed, but we'll have to go through and update images later to make sure they've got the right toolchains. | ||||
| 2019-02-27 | Replace `s` with `self` in docs for str methods taking self. | Trevor Spiteri | -3/+3 | |
| 2019-02-27 | Auto merge of #58777 - Centril:rollup, r=Centril | bors | -249/+387 | |
| Rollup of 14 pull requests Successful merges: - #58075 (Fix for issue #58050) - #58627 (rustdoc: move collapse and unindent docs passes earlier) - #58630 (Make `visit_clobber` panic-safe.) - #58678 (Deny `async fn` in 2015 edition) - #58680 (Fix an indexing error when using `x.py help`) - #58703 (Fix copy-pasted typo for read_string return value) - #58744 (Update dlmalloc to 0.1.3) - #58746 (std: docs: Disable running several Stdio doctests) - #58748 (update scoped_tls to 1.0) - #58749 (Reduce Repetitions of (n << amt) >> amt) - #58752 (Update string_cache_codegen to 0.4.2) - #58755 (Clarify `rotate_{left,right}` docs) - #58757 (Normalize the type Self resolves to in an impl) - #58761 (Add tracking issue for the unwind attribute) Failed merges: r? @ghost | ||||
| 2019-02-27 | Fix doc comments in librustc/hir/lowering.rs | Dan Robertson | -16/+16 | |
| 2019-02-27 | Rename variadic to c_variadic | Dan Robertson | -119/+119 | |
| Function signatures with the `variadic` member set are actually C-variadic functions. Make this a little more explicit by renaming the `variadic` boolean value, `c_variadic`. | ||||
| 2019-02-27 | Refactor FunctionCx::codgen_terminator | Dan Robertson | -671/+771 | |
| - Move closures defined in codegen_terminator into a separate helper structure and implementation. - Create helper functions for each of the complex match arms on the terminators kind in codegen_terminator. | ||||
| 2019-02-27 | Add c_variadic to the unstable-book | Dan Robertson | -0/+50 | |
| - Add the c_variadic language feature - Add the c_variadic library feature | ||||
| 2019-02-27 | Add c_variadic language feature item | Dan Robertson | -0/+28 | |
| 2019-02-27 | Support defining C compatible variadic functions | Dan Robertson | -152/+848 | |
| Add support for defining C compatible variadic functions in unsafe rust with extern "C". | ||||
| 2019-02-27 | Fix tidy check for language and library features | Dan Robertson | -10/+12 | |
| 2019-02-27 | Vastly simplify TryFrom docs. | Simon Heath | -28/+8 | |
| 2019-02-27 | Incorporated review changes. | Simon Heath | -17/+35 | |
