summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove nrc from toolstate pingsnrc-patch-1Nick Cameron2019-04-171-2/+2
|
* Auto merge of #60027 - jethrogb:jb/sgx-reentry-abort, r=cramertjbors2019-04-173-19/+11
|\ | | | | | | | | | | | | | | SGX target: change re-entry abort logic Even though re-entry after exit is generally not acceptable, there is a race condition where the enclave thinks it's exited but userspace doesn't know that yet. An entry during that time will currently result in an enclave panic (see https://github.com/rust-lang/rust/pull/59997#issuecomment-483846291, https://github.com/rust-lang/rust/pull/60003#issuecomment-483888170). Instead of panicking, just do a regular exit on re-entry. cc @jseyfried
| * SGX target: change re-entry abort logicJethro Beekman2019-04-163-19/+11
| |
* | Auto merge of #59974 - Centril:boostrap-to-2019-04-11, ↵bors2019-04-1732-34/+30
|\ \ | |/ |/| | | | | | | | | | | | | | | r=pietroalbini,Mark-Simulacrum Bump bootstrap compiler to 2019-04-11 r? @pietroalbini cc @Mark-Simulacrum cc https://github.com/rust-lang/rust/pull/58702
| * bump bootstrap; remove redundant 'use libc;' on macOS.Mazdak Farrokhzad2019-04-171-1/+0
| |
| * Deny `internal` in stage0Mateusz Mikuła2019-04-1727-29/+27
| |
| * bump bootstrap; nightly => 1.36.Mazdak Farrokhzad2019-04-171-1/+1
| |
| * bump bootstrap; fix compiletest wrt. exclude_should_panicMazdak Farrokhzad2019-04-171-0/+1
| |
| * bump bootstrap; remove redundant imports.Mazdak Farrokhzad2019-04-171-2/+0
| |
| * bump bootstrap => 2019-04-11Mazdak Farrokhzad2019-04-171-1/+1
|/
* Auto merge of #59997 - ehuss:update-cargo, r=alexcrichtonbors2019-04-162-4/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update cargo 16 commits in 6f3e9c367abb497c64f360c3839dab5e74928d5c..b6581d383ed596b133e330011658c6f83cf85c2f 2019-04-04 14:11:33 +0000 to 2019-04-16 16:02:11 +0000 - Fix new_warning_with_corrupt_ws missing "USER". (rust-lang/cargo#6857) - Ignore Clippy redundant_closure (rust-lang/cargo#6855) - Pass OsStr/OsString args through to the process spawned by cargo run. (rust-lang/cargo#6849) - Bump to 0.37.0 (rust-lang/cargo#6852) - Fix test include_overrides_gitignore. (rust-lang/cargo#6850) - Clarify optional registry key behaviour (rust-lang/cargo#6851) - Ensure Summary::checksum works for registry crates (rust-lang/cargo#6842) - Better error if PathSource::walk can't access something. (rust-lang/cargo#6841) - Improve warning in `cargo new` with parse error. (rust-lang/cargo#6839) - Improve error message for `publish` key restriction. (rust-lang/cargo#6838) - Remove `Freshness` from `DependencyQueue` (rust-lang/cargo#6832) - testsuite: cleanup for `alternative-registries` (rust-lang/cargo#6837) - Improve error message to rerun a test in a workspace. (rust-lang/cargo#6824) - Fix mutable_borrow_reservation_conflict warning. (rust-lang/cargo#6829) - Add install-upgrade. (rust-lang/cargo#6798) - Clarify docs of install without <crate> (rust-lang/cargo#6823)
| * Update cargoEric Huss2019-04-162-4/+4
| |
* | Auto merge of #59879 - ebarnard:patch-1, r=alexcrichtonbors2019-04-161-0/+7
|\ \ | | | | | | | | | | | | | | | | | | | | | Add a comment explaining why SecRandomCopyBytes is not used on MacOS SecRandomCopyBytes is [available since MacOS 10.7](https://developer.apple.com/documentation/security/1399291-secrandomcopybytes?language=objc) which is the minimum supported version and which was suggested in https://github.com/rust-lang/rust/pull/58901#issuecomment-470188115 is the earliest version currently in use. This matches the behaviour of other platforms which have a random number generator syscall available.
| * | Add a comment explaining why SecRandomCopyBytes is not used on MacOSEd Barnard2019-04-161-0/+7
| | |
* | | Auto merge of #59769 - RalfJung:compiletest-normalization, r=alexcrichtonbors2019-04-1630-10/+92
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | compiletest normalization: preserve non-JSON lines such as ICEs Currently, every non-JSON line from stderr gets normalized away when compiletest normalizes the output. In particular, ICEs get normalized to the empty output. That does not seem desirable, so this changes normalization to preserve non-JSON lines instead. Also see https://github.com/laumann/compiletest-rs/issues/169: because of that bug, Miri currently *looks* green in the toolstate, but some tests ICE. That same bug is likely no longer present in latest compiletest because the error code gets checked separately, but it still seems like a good idea to also make sure that ICEs are considered stderr output: This change found an accidental user-visible `error!` in CTFE validation (fixed), and a non-deterministic panic when there are two `main` symbols (not fixed, no idea where this comes from). Both got missed before because non-JSON output got ignored.
| * | this panic occurs not just on Windows, normalize it away everywhereRalf Jung2019-04-163-6/+6
| | |
| * | normalize away some Windows-only panic printingRalf Jung2019-04-156-3/+15
| | |
| * | huge-enum also exhibits this errorRalf Jung2019-04-141-0/+4
| | |
| * | some more tests need normalizationRalf Jung2019-04-143-0/+12
| | |
| * | normalize away spurious errorRalf Jung2019-04-149-3/+27
| | |
| * | normalize flags and rustc version in ICE reproRalf Jung2019-04-142-2/+4
| | |
| * | fix output test for backtrace-debuginfo.rsRalf Jung2019-04-141-2/+4
| | |
| * | fix testsRalf Jung2019-04-148-1/+26
| | |
| * | compiletest normalization: preserve non-JSON lines such as ICEsRalf Jung2019-04-141-1/+2
| | |
* | | Auto merge of #60007 - Centril:rollup-gdh1er4, r=Centrilbors2019-04-1613-14/+191
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rollup of 6 pull requests Successful merges: - #59717 (improve docs for std::hint::unreachable_unchecked()) - #59903 (Continue evaluating after missing main) - #59973 (Fix rustdoc sidebar z-index) - #59992 (rustdoc: use --static-root-path for settings.js) - #59993 (include mode in unused binding suggestion span) - #60000 (Add repo-specific triagebot configuration) Failed merges: r? @ghost
| * \ \ Rollup merge of #60000 - pietroalbini:triagebot, r=Mark-SimulacrumMazdak Farrokhzad2019-04-161-0/+6
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add repo-specific triagebot configuration r? @Mark-Simulacrum cc https://github.com/rust-lang/triagebot/pull/9
| | * | | add repo-specific triagebot configurationPietro Albini2019-04-151-0/+6
| | | | |
| * | | | Rollup merge of #59993 - euclio:unused-ref-field, r=estebankMazdak Farrokhzad2019-04-164-5/+119
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | include mode in unused binding suggestion span Fixes #54180.
| | * | | | include mode in unused binding suggestion spanAndy Russell2019-04-154-5/+119
| | | | | |
| * | | | | Rollup merge of #59992 - QuietMisdreavus:static-settings-path, r=GuillaumeGomezMazdak Farrokhzad2019-04-162-1/+6
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rustdoc: use --static-root-path for settings.js At the time i was writing https://github.com/rust-lang/docs.rs/pull/332, i noticed that the `settings.js` file that was being loaded was not being loaded from the `--static-root-path`. This PR fixes that so that users on docs.rs can effectively cache this file.
| | * | | | | use --static-root-path for settings.jsQuietMisdreavus2019-04-152-1/+6
| | | | | | |
| * | | | | | Rollup merge of #59973 - Enity:fix-rustdoc-sidebar, r=GuillaumeGomezMazdak Farrokhzad2019-04-161-1/+2
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix rustdoc sidebar z-index I think the screenshot will say everything: ![image](https://user-images.githubusercontent.com/2884517/56098429-37fa3680-5f09-11e9-8c54-4e2548aa0818.png) live example: https://docs.rs/nom/4.2.3/nom/ I chose the smallest z-index to avoid problems with other blocks.
| | * | | | | | change word wrapping modevlad-boroda2019-04-151-1/+1
| | | | | | | |
| | * | | | | | Fix rustdoc sidebar z-indexvlad-boroda2019-04-141-0/+1
| | | | | | | |
| * | | | | | | Rollup merge of #59903 - estebank:after-main, r=oli-obkMazdak Farrokhzad2019-04-164-3/+55
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Continue evaluating after missing main
| | * | | | | | | Continue evaluating after missing mainEsteban Küber2019-04-114-3/+55
| | | | | | | | |
| * | | | | | | | Rollup merge of #59717 - Reconcyl:master, r=steveklabnikMazdak Farrokhzad2019-04-161-4/+3
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | improve docs for std::hint::unreachable_unchecked() Fixes #59549
| | * | | | | | | | Remove parensUnreachable2019-04-051-2/+2
| | | | | | | | | |
| | * | | | | | | | improve docs for std::hint::unreachable_unchecked()Unreachable2019-04-051-3/+2
| | | | | | | | | |
* | | | | | | | | | Auto merge of #59990 - bjorn3:nicer_compiletest_errors, r=alexcrichtonbors2019-04-161-1/+3
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use resume_unwind instead of panic!() for nicer compiletest errors cc https://github.com/rust-lang/rust/pull/58783#issuecomment-477287606
| * | | | | | | | | Use resume_unwind instead of panic!() for nicer compiletest errorsbjorn32019-04-151-1/+3
| | | | | | | | | |
* | | | | | | | | | Auto merge of #59926 - pietroalbini:android-sdk-manager, r=alexcrichtonbors2019-04-154-68/+224
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ci: use a custom android sdk manager with pinning and mirroring Google's own sdkmanager has two issues that make it unsuitable for us: * Mirroring has to be done manually, which is annoying because we need to figure out on our own all the URLs to copy (I couldn't find any documentation when building this PR, had to use mitmproxy). * There is no support for pinning, which means an update on Google's side can break our CI, as it happened multiple times. This PR replaces all our usage of sdkmanager with a custom Python script which mimics its behavior, but with the two issues fixes. sdkmanager's logic for installing packages is thankfully very simple: the package name (like `system-images;android-18;default;armeabi-v7a`) is the directory where the package should live (with `;` replaced with `/`), so to install a package we only need to extract its contents in the right directory. r? @alexcrichton cc @kennytm fixes https://github.com/rust-lang/rust/issues/59778
| * | | | | | | | | ci: use a custom android sdk manager with pinning and mirroringPietro Albini2019-04-124-68/+224
| | | | | | | | | |
* | | | | | | | | | Auto merge of #59991 - Centril:rollup-bqxt4w3, r=Centrilbors2019-04-1521-47/+154
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rollup of 6 pull requests Successful merges: - #59648 (Add must_use annotations to Result::is_ok and is_err) - #59748 (Add summary and reference to Rust trademark guide) - #59779 (Uplift `get_def_path` from Clippy) - #59955 (bump stdsimd; make intra_doc_link_resolution_failure an error again; make lints more consistent) - #59978 (rustdoc: Remove default keyword from re-exported trait methods) - #59989 (Fix links to Atomic* in RELEASES.md) Failed merges: r? @ghost
| * | | | | | | | | Rollup merge of #59989 - dima74:patch-1, r=jonas-schievinkMazdak Farrokhzad2019-04-151-9/+9
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix links to Atomic* in RELEASES.md
| | * | | | | | | | | Fix links to Atomic* in RELEASES.mdDmitry Murzin2019-04-151-9/+9
| | | |_|_|_|_|/ / / | | |/| | | | | | |
| * | | | | | | | | Rollup merge of #59978 - ollie27:rustdoc_default, r=QuietMisdreavusMazdak Farrokhzad2019-04-155-16/+67
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rustdoc: Remove default keyword from re-exported trait methods Fixes #59977 r? @QuietMisdreavus As this fixes a stable to beta regression, could it be backported?
| | * | | | | | | | | rustdoc: Remove default keyword from re-exported trait methodsOliver Middleton2019-04-145-16/+67
| | | |_|/ / / / / / | | |/| | | | | | |
| * | | | | | | | | Rollup merge of #59955 - RalfJung:stdsimd, r=alexcrichtonMazdak Farrokhzad2019-04-157-8/+22
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bump stdsimd; make intra_doc_link_resolution_failure an error again; make lints more consistent I made `intra_doc_link_resolution_failure` warn so that it would properly respect `deny-warnings = false` in `config.toml`. `#[warn]` still become errors with `-D warnings` so I thought this was fine. Turns out however that we don't pass `-D warnings` when running rustdoc, so for additional rustdoc-lints we need to set them to `deny`. Also sue the opportunity to make the lint flags more consistent between libcore, liballoc, libstd. Cc @gnzlbg for the *big* stdsimd update.
| | * | | | | | | | | warn(missing_docs) in liballoc, and add missing docsRalf Jung2019-04-154-0/+13
| | | | | | | | | | |