summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2017-10-28Rollup merge of #45449 - frewsxcv:frewsxcv-udp-nonblocking, r=sfacklerkennytm-4/+33
Improve docs for UdpSocket::set_nonblocking. Closes https://github.com/rust-lang/rust/issues/44050.
2017-10-28Rollup merge of #45421 - QuietMisdreavus:update-pulldown, r=steveklabnikkennytm-20/+5
rustdoc: update pulldown + fix spurious rendering difference around footnotes fixes #45420
2017-10-28Auto merge of #45566 - cuviper:option-checking, r=alexcrichtonbors-4/+24
configure.py: fix --disable-option-checking and extra config paths - indexing 'option-checking' out of `known_args` had a type error - when option checking is disabled, don't error on duplicate args, just take the last - add config.toml stubs for datadir, infodir, and localstatedir (which were already accepted, but broken) --- This fixes a regression from 1.21 to beta, when the configure script was rewritten in python.
2017-10-28Auto merge of #45503 - thombles:tk/i44339-v5, r=petrochenkovbors-4/+55
Improve diagnostics when list of tokens has incorrect separators Make `parse_seq_to_before_tokens` more resilient to error conditions. Where possible it is better if it can consume up to the final bracket before returning. This change improves the diagnostics in a couple of situations: ``` struct S(pub () ()); // omitted separator use std::{foo. bar}; // used a similar but wrong separator ``` Fixes #44339 r? @petrochenkov
2017-10-27Remove 'future Rust version' code block in diagnostic text.Corey Farwell-10/+0
Fixes https://github.com/rust-lang/rust/issues/43780.
2017-10-27Use rls-data 0.12Igor Matuszewski-4/+21
2017-10-27Move type_has_metadata to trans_utilsPaul Liétar-15/+17
2017-10-27Encode urlsGuillaume Gomez-1/+17
2017-10-27Change sidebar items orderGuillaume Gomez-3/+3
2017-10-27Improve sidebar rendering and add methods listGuillaume Gomez-20/+69
2017-10-27fix rebasePaul Liétar-0/+1
2017-10-27Undo changes to core::ptrPaul Liétar-9/+7
2017-10-27Implement RFC 1861: Extern typesPaul Lietar-120/+737
2017-10-27Document that call expressions also represent ADT constructors.leonardo.yvens-2/+6
This is a rather obscure part of the language.
2017-10-27Auto merge of #45285 - alexcrichton:update-bootstrap, r=Mark-Simulacrumbors-284/+284
Bump to 1.23 and update bootstrap This commit updates the bootstrap compiler, bumps the version to 1.23, updates Cargo, updates books, and updates crates.io dependencies
2017-10-27Fix tidy error line longer than 100 charsLaurent Arnoud-1/+3
2017-10-27Quit immediately when current directory is invalidLaurent Arnoud-3/+4
Thanks-to: @kennytm
2017-10-27Emit crate disambiguators in save-analysis dataIgor Matuszewski-13/+15
2017-10-27Update license exceptions.kennytm-5/+2
The `zircon` crates have been renamed as `fuchsia-zircon`.
2017-10-27Auto merge of #45570 - nrc:manifest-no-rls, r=alexcrichtonbors-26/+37
Don't fail to build a manifest if a tarball is missing This is guesswork because I can't test build_manifest nor do I know what is actually causing the error to begin with. My hypothesis is that when we try to find the version from the RLS tarball and the tarball is not there, then we panic. I attempt to fix this by making the version string optional, then not adding the RLS package, rename, and extension component if the version is missing. In theory, this should fix the broken nightlies. r? @alexcrichton
2017-10-27Auto merge of #45531 - steveklabnik:fix-unstable-book-formatting, r=kennytmbors-12/+12
Fix formatting in unstable book's attr-literals section
2017-10-27Fixed rustc_on_unimplemented example in Unstable BookNadav Zingerman-4/+4
2017-10-27Auto merge of #45353 - wesleywiser:untracked_queries, r=michaelwoeristerbors-17/+94
[incremental] Add support for eval always queries Part of #45238
2017-10-27Don't fail to build a manifest if a tarball is missingNick Cameron-26/+37
2017-10-26regenerate libcore/char_private.rsZack M. Davis-76/+85
char_private.rs is generated programmatically by char_private.py, using data retrieved from the Unicode Consortium's website. The motivation here was to make `is_printable` crate-visible (with `pub(crate)`), but it would seem that the Unicode data has changed slightly since char_private.rs was last generated.
2017-10-27Auto merge of #45524 - alexcrichton:improve-park-unpark, r=dtolnaybors-15/+72
std: Optimize thread park/unpark implementation This is an adaptation of alexcrichton/futures-rs#597 for the standard library. The goal here is to avoid locking a mutex on the "fast path" for thread park/unpark where you're waking up a thread that isn't sleeping or otherwise trying to park a thread that's already been notified. Mutex performance varies quite a bit across platforms so this should provide a nice consistent speed boost for the fast path of these functions.
2017-10-27Return 0 when ./x.py has no subcommandtopecongiro-2/+5
2017-10-26config.toml: Add stubs for recognized-but-unused install pathsJosh Stone-0/+15
... specifically `datadir`, `infodir`, and `localstatedir`. These were already accepted by `configure.py`, but it didn't have any place to put the values.
2017-10-26configure.py: fix --disable-option-checkingJosh Stone-4/+9
Getting the value of this argument needs another level of indexing, as `known_args` are stored in `{dict}[list](opt, value)` form. Also, when option-checking is disabled, let this bypass the check that options are only passed once, and just apply the last value.
2017-10-26Auto merge of #45523 - alexcrichton:improve-libbacktrace, r=sfacklerbors-1/+1
std: Disable usage of mmap allocator in libbacktrace This is sort of a long overdue change from the investigation in #29293 and #37477. The released binaries of rustc don't have debug information and so don't actively suffer this problem but this can hit local development of rustc and also larger programs compiled against libstd generating backtraces. The main purpose of the mmap allocator in libacktrace is to be usable from a signal handler, but we don't do that, so the normal allocator using malloc/free should work well for us.
2017-10-26Switch several crate-wide queries to use eval_alwaysWesley Wiser-10/+8
Closes #45238
2017-10-26Handle eval_always queries in force()Wesley Wiser-4/+11
Part of #45238
2017-10-26Allow declaring a DepNode as eval_alwaysWesley Wiser-0/+18
Part of #45238
2017-10-26[incremental] Add support for eval always queriesWesley Wiser-3/+57
Part of #45238
2017-10-26Bump to 1.23 and update bootstrapAlex Crichton-279/+282
This commit updates the bootstrap compiler, bumps the version to 1.23, updates Cargo, updates books, and updates crates.io dependencies
2017-10-26Auto merge of #45522 - michaelwoerister:fix-stable-hasher-cross, r=arielb1bors-24/+16
Fix 32- vs 64-bit platform instability in StableHasher. This might already be enough to fix issue https://github.com/rust-lang/rust/issues/45500. r? @alexcrichton
2017-10-26Auto merge of #45519 - michaelwoerister:dedup-errors, r=arielb1bors-154/+83
Don't emit the same compiler diagnostic twice. This PR makes the compiler filter out diagnostic messages that have already been emitted during the same compilation session.
2017-10-26relax restriction - allow errors to be emmitted within macro spans, as long ↵Virgil Palanciuc-9/+8
as the same error message has not been used before (i.e. use the None as the span key, for errors that occur within macros)
2017-10-26Use expect for current_dir on librustc/session modLaurent Arnoud-1/+3
2017-10-26incr.comp.: Update overflow-check logic in HIR hashing.Michael Woerister-49/+110
2017-10-26incr.comp.: Fix invalid DepNode assignment in HIR map.Michael Woerister-1/+1
2017-10-26Auto merge of #45380 - dotdash:arg_copies, r=arielb1bors-122/+145
Avoid unnecessary copies of arguments that are simple bindings Initially MIR differentiated between arguments and locals, which introduced a need to add extra copies assigning the argument to a local, even for simple bindings. This differentiation no longer exists, but we're still creating those copies, bloating the MIR and LLVM IR we emit. Additionally, the current approach means that we create debug info for both the incoming argument (marking it as an argument), and then immediately shadow it a local that goes by the same name. This can be confusing when using e.g. "info args" in gdb, or when e.g. a debugger with a GUI displays the function arguments separately from the local variables, especially when the binding is mutable, because the argument doesn't change, while the local variable does.
2017-10-26Improve docs for UdpSocket::set_nonblocking.Corey Farwell-4/+33
Closes https://github.com/rust-lang/rust/issues/44050.
2017-10-26cargotest: Update xsv.kennytm-1/+1
This fixes a flaky test which caused spurious failures in #45348 and #45380
2017-10-26Remove 'just' in diagnosticssteveklabnik-1/+1
This is better writing
2017-10-26issue #45357 don't build clippy stage 1matt rice-1/+4
2017-10-26Add comments to clarify function argument ownershipBjörn Steinbrink-1/+5
2017-10-26Avoid unnecessary copies of arguments that are simple bindingsBjörn Steinbrink-121/+140
Initially MIR differentiated between arguments and locals, which introduced a need to add extra copies assigning the argument to a local, even for simple bindings. This differentiation no longer exists, but we're still creating those copies, bloating the MIR and LLVM IR we emit. Additionally, the current approach means that we create debug info for both the incoming argument (marking it as an argument), and then immediately shadow it a local that goes by the same name. This can be confusing when using e.g. "info args" in gdb, or when e.g. a debugger with a GUI displays the function arguments separately from the local variables, especially when the binding is mutable, because the argument doesn't change, while the local variable does.
2017-10-26Update RELEASES.mdAaron Power-4/+4
2017-10-26Update some comments about StableHasher.Michael Woerister-20/+6