-
Notifications
You must be signed in to change notification settings - Fork 12.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rollup of 17 pull requests #48104
Rollup of 17 pull requests #48104
Commits on Jan 26, 2018
-
derive PartialEq and Eq for
ParseCharError
unlike the other Parse*Error types, ParseCharError didn't have these implemented for whatever reason
Configuration menu - View commit details
-
Copy full SHA for 838ddbf - Browse repository at this point
Copy the full SHA 838ddbfView commit details
Commits on Jan 28, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 505ef7b - Browse repository at this point
Copy the full SHA 505ef7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for caa42e1 - Browse repository at this point
Copy the full SHA caa42e1View commit details
Commits on Jan 29, 2018
-
Create a directory for --out-dir if it does not already exist
Currently if `--out-dir` is set to a non-existent directory, the compiler will throw unfriendly messages like `error: could not write output to subdir/example.crate.allocator.rcgu.o: No such file or directory`, which, while not completely unreadable, isn’t very user-friendly either. This change creates the directory automatically if it does not yet exist.
Configuration menu - View commit details
-
Copy full SHA for 79d85da - Browse repository at this point
Copy the full SHA 79d85daView commit details
Commits on Feb 5, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 7be8e2f - Browse repository at this point
Copy the full SHA 7be8e2fView commit details
Commits on Feb 7, 2018
-
Fix ICE for mismatched args on target without span
Commit 7ed00ca improved our error reporting by including the target function in our error messages when there is an argument count mismatch. A simple example from the UI tests is: ``` error[E0593]: function is expected to take a single 2-tuple as argument, but it takes 0 arguments --> $DIR/closure-arg-count.rs:32:53 | 32 | let _it = vec![1, 2, 3].into_iter().enumerate().map(foo); | ^^^ expected function that takes a single 2-tuple as argument ... 44 | fn foo() {} | -------- takes 0 arguments ``` However, this assumed the target span was always available. This does not hold true if the target function is in `std` or another crate. A simple example from rust-lang#48046 is assigning `str::split` to a function type with a different number of arguments. Fix by removing all of the labels and suggestions related to the target span when it's not found. Fixes rust-lang#48046
Configuration menu - View commit details
-
Copy full SHA for daaa9a4 - Browse repository at this point
Copy the full SHA daaa9a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 528d6b6 - Browse repository at this point
Copy the full SHA 528d6b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78a0b7f - Browse repository at this point
Copy the full SHA 78a0b7fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 37b5af2 - Browse repository at this point
Copy the full SHA 37b5af2View commit details
Commits on Feb 8, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 04fde1c - Browse repository at this point
Copy the full SHA 04fde1cView commit details -
Add
rustc_args_required_const
to the feature whitelistUnfortunately left out it means that when the `#![feature(proc_macro)]` flag is in effect it fails to find `rustc_args_required_const` for expansion. This version, however, is verified to work with stdsimd's requirements!
Configuration menu - View commit details
-
Copy full SHA for 35dca7e - Browse repository at this point
Copy the full SHA 35dca7eView commit details -
Disallow function pointers to #[rustc_args_required_const]
This commit disallows acquiring a function pointer to functions tagged as `#[rustc_args_required_const]`. This is intended to be used as future-proofing for the stdsimd crate to avoid taking a function pointer to any intrinsic which has a hard requirement that one of the arguments is a constant value.
Configuration menu - View commit details
-
Copy full SHA for 7a20fc1 - Browse repository at this point
Copy the full SHA 7a20fc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9bcb4e - Browse repository at this point
Copy the full SHA e9bcb4eView commit details
Commits on Feb 9, 2018
-
rustbuild: Pass
ccache
to build scriptsRight now the ccache setting is only used for LLVM, but this tweaks it to also be used for build scripts so C++ builds like `librustc_llvm` can be a bit speedier.
Configuration menu - View commit details
-
Copy full SHA for 64a8730 - Browse repository at this point
Copy the full SHA 64a8730View commit details -
A bug was recently fixed in dlmalloc which meant that released memory to the system accidentally wasn't getting reused, causing programs to be far slower than they should be!
Configuration menu - View commit details
-
Copy full SHA for bb0df96 - Browse repository at this point
Copy the full SHA bb0df96View commit details -
Configuration menu - View commit details
-
Copy full SHA for 774997d - Browse repository at this point
Copy the full SHA 774997dView commit details -
Forcibly disable optimizations in backtrace-debuginfo
Various versions of LLVM do various things with debuginfo but we're most curious that our own code is working so let's just disable optimizations in this test to ensure we have as much pristine debuginfo as possible.
Configuration menu - View commit details
-
Copy full SHA for b521c77 - Browse repository at this point
Copy the full SHA b521c77View commit details -
Don't cross-compile Emscripten's LLVM
Eventually the LLVM version of Emscripten and the main LLVM will diverge, and we can't cross-compile an older version of LLVM using a newer version of LLVM's `llvm-config`.
Configuration menu - View commit details
-
Copy full SHA for 866d13a - Browse repository at this point
Copy the full SHA 866d13aView commit details -
ci: Actually bootstrap on i686 dist
Right now the `--build` option was accidentally omitted, so we're bootstraping from `x86_64` to `i686`. In addition to being slower (more compiles) that's not actually bootstrapping!
Configuration menu - View commit details
-
Copy full SHA for 9c05bab - Browse repository at this point
Copy the full SHA 9c05babView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe8e0d9 - Browse repository at this point
Copy the full SHA fe8e0d9View commit details -
Rollup merge of rust-lang#47790 - tinaun:patch-1, r=sfackler
derive PartialEq and Eq for `ParseCharError` unlike the other Parse*Error types, ParseCharError didn't have these implemented for whatever reason
Configuration menu - View commit details
-
Copy full SHA for 270e6aa - Browse repository at this point
Copy the full SHA 270e6aaView commit details -
Rollup merge of rust-lang#47835 - Mark-Simulacrum:remove-data-structs…
…, r=nikomatsakis Remove unused data structures Cleanup; as far as I can tell the compiler no longer uses these.
Configuration menu - View commit details
-
Copy full SHA for df1c16c - Browse repository at this point
Copy the full SHA df1c16cView commit details -
Rollup merge of rust-lang#47854 - varkor:create-out-dir, r=pnkfelix
Create a directory for --out-dir if it does not already exist Currently if `--out-dir` is set to a non-existent directory, the compiler will throw unfriendly messages like `error: could not write output to subdir/example.crate.allocator.rcgu.o: No such file or directory`, which, while not completely unreadable, isn’t very user-friendly either. This change creates the directory automatically if it does not yet exist.
Configuration menu - View commit details
-
Copy full SHA for 7c17ac8 - Browse repository at this point
Copy the full SHA 7c17ac8View commit details -
Rollup merge of rust-lang#48015 - o01eg:disableable-installation, r=a…
…lexcrichton Customizable extended tools This PR adds `build.tools` option to manage installation of extended rust tools. By default it doesn't change installation. All tools are built and `rls` and `rustfmt` allowed to fail installation. If some set of tools chosen only those tools are built and installed without any fails allowed. It solves some slotting issues with extended build enabled: https://bugs.gentoo.org/show_bug.cgi?id=645498
Configuration menu - View commit details
-
Copy full SHA for ebbc35b - Browse repository at this point
Copy the full SHA ebbc35bView commit details -
Rollup merge of rust-lang#48047 - etaoins:fix-ice-for-mismatched-args…
…-on-target-without-span, r=estebank Fix ICE for mismatched args on target without span Commit 7ed00ca improved our error reporting by including the target function in our error messages when there is an argument count mismatch. A simple example from the UI tests is: ``` error[E0593]: function is expected to take a single 2-tuple as argument, but it takes 0 arguments --> $DIR/closure-arg-count.rs:32:53 | 32 | let _it = vec![1, 2, 3].into_iter().enumerate().map(foo); | ^^^ expected function that takes a single 2-tuple as argument ... 44 | fn foo() {} | -------- takes 0 arguments ``` However, this assumed the target span was always available. This does not hold true if the target function is in `std` or another crate. A simple example from rust-lang#48046 is assigning `str::split` to a function type with a different number of arguments. Fix by omitting all of the labels and suggestions related to the target span when it's not found. Fixes rust-lang#48046 r? @estebank
Configuration menu - View commit details
-
Copy full SHA for 67d4800 - Browse repository at this point
Copy the full SHA 67d4800View commit details -
Rollup merge of rust-lang#48051 - ollie27:rustdoc_fn_unit_return, r=Q…
…uietMisdreavus rustdoc: Hide `-> ()` in cross crate inlined Fn* bounds
Configuration menu - View commit details
-
Copy full SHA for f3ee01e - Browse repository at this point
Copy the full SHA f3ee01eView commit details -
Rollup merge of rust-lang#48058 - cuviper:binaryen-gcc8, r=alexcrichton
Update binaryen to fix -Werror with GCC 8 r? @alexcrichton
Configuration menu - View commit details
-
Copy full SHA for b7f8fa6 - Browse repository at this point
Copy the full SHA b7f8fa6View commit details -
Rollup merge of rust-lang#48059 - alexcrichton:sccachebs, r=Mark-Simu…
…lacrum rustbuild: Pass `ccache` to build scripts Right now the ccache setting is only used for LLVM, but this tweaks it to also be used for build scripts so C++ builds like `librustc_llvm` can be a bit speedier.
Configuration menu - View commit details
-
Copy full SHA for b182bf1 - Browse repository at this point
Copy the full SHA b182bf1View commit details -
Rollup merge of rust-lang#48064 - Manishearth:intra-doc-bail, r=Quiet…
…Misdreavus intra-doc-links: bail early for linky things r? @QuietMisdreavus
Configuration menu - View commit details
-
Copy full SHA for ec01b28 - Browse repository at this point
Copy the full SHA ec01b28View commit details -
Rollup merge of rust-lang#48078 - alexcrichton:fix-required-const-and…
…-proc-macro, r=eddyb Disallow function pointers to #[rustc_args_required_const] This commit disallows acquiring a function pointer to functions tagged as `#[rustc_args_required_const]`. This is intended to be used as future-proofing for the stdsimd crate to avoid taking a function pointer to any intrinsic which has a hard requirement that one of the arguments is a constant value. Note that the first commit here isn't related specifically to this feature, but was necessary to get this working in stdsimd!
Configuration menu - View commit details
-
Copy full SHA for 6747b17 - Browse repository at this point
Copy the full SHA 6747b17View commit details -
Rollup merge of rust-lang#48080 - GuillaumeGomez:mobile-docs-fixes, r…
…=QuietMisdreavus Hide theme button under menu in mobile mode and fix top margin issue … Fixes rust-lang#48060. r? @QuietMisdreavus
Configuration menu - View commit details
-
Copy full SHA for cbc3b8c - Browse repository at this point
Copy the full SHA cbc3b8cView commit details -
Rollup merge of rust-lang#48085 - alexcrichton:update-dlmalloc, r=Mar…
…k-Simulacrum Update the dlmalloc submodule A bug was recently fixed in dlmalloc which meant that released memory to the system accidentally wasn't getting reused, causing programs to be far slower than they should be!
Configuration menu - View commit details
-
Copy full SHA for 1ef535e - Browse repository at this point
Copy the full SHA 1ef535eView commit details -
Rollup merge of rust-lang#48086 - Zoxc:gen-fix, r=nikomatsakis
Fix visitation order of calls so that it matches execution order. Fixes rust-lang#48048 r? @nikomatsakis
Configuration menu - View commit details
-
Copy full SHA for 4ed1ba6 - Browse repository at this point
Copy the full SHA 4ed1ba6View commit details -
Rollup merge of rust-lang#48090 - alexcrichton:disable-opt-test, r=ni…
…komatsakis Forcibly disable optimizations in backtrace-debuginfo Various versions of LLVM do various things with debuginfo but we're most curious that our own code is working so let's just disable optimizations in this test to ensure we have as much pristine debuginfo as possible. This is currently extracted from rust-lang#47828 to land standalone
Configuration menu - View commit details
-
Copy full SHA for 671206b - Browse repository at this point
Copy the full SHA 671206bView commit details -
Rollup merge of rust-lang#48093 - alexcrichton:dont-cross-emscripten,…
… r=Mark-Simulacrum Don't cross-compile Emscripten's LLVM Eventually the LLVM version of Emscripten and the main LLVM will diverge, and we can't cross-compile an older version of LLVM using a newer version of LLVM's `llvm-config`. This is extracted from rust-lang#47828
Configuration menu - View commit details
-
Copy full SHA for e471747 - Browse repository at this point
Copy the full SHA e471747View commit details -
Rollup merge of rust-lang#48098 - alexcrichton:fix-i686-dist-bootstra…
…p, r=Mark-Simulacrum ci: Actually bootstrap on i686 dist Right now the `--build` option was accidentally omitted, so we're bootstraping from `x86_64` to `i686`. In addition to being slower (more compiles) that's not actually bootstrapping!
Configuration menu - View commit details
-
Copy full SHA for 258be62 - Browse repository at this point
Copy the full SHA 258be62View commit details -
Rollup merge of rust-lang#48101 - Mark-Simulacrum:new-books, r=stevek…
…labnik Update books for next release
Configuration menu - View commit details
-
Copy full SHA for 878e701 - Browse repository at this point
Copy the full SHA 878e701View commit details