-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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 20 pull requests #48113
Rollup of 20 pull requests #48113
Commits on Jan 18, 2018
-
Document the behaviour of infinite iterators on potentially-computabl…
…e methods It’s not entirely clear from the current documentation what behaviour calling a method such as `min` on an infinite iterator like `RangeFrom` is. One might expect this to terminate, but in fact, for infinite iterators, `min` is always nonterminating (at least in the standard library). This adds a quick note about this behaviour for clarification.
Configuration menu - View commit details
-
Copy full SHA for fdfb964 - Browse repository at this point
Copy the full SHA fdfb964View commit details -
Configuration menu - View commit details
-
Copy full SHA for 91668fb - Browse repository at this point
Copy the full SHA 91668fbView commit details
Commits on Jan 19, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 0be5173 - Browse repository at this point
Copy the full SHA 0be5173View commit details
Commits on Jan 21, 2018
-
Configuration menu - View commit details
-
Copy full SHA for f129374 - Browse repository at this point
Copy the full SHA f129374View commit details
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 -
Configuration menu - View commit details
-
Copy full SHA for 774997d - Browse repository at this point
Copy the full SHA 774997dView 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 -
Configuration menu - View commit details
-
Copy full SHA for 1335b3d - Browse repository at this point
Copy the full SHA 1335b3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e6f910e - Browse repository at this point
Copy the full SHA e6f910eView commit details
Commits on Feb 10, 2018
-
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 6bbee8d - Browse repository at this point
Copy the full SHA 6bbee8dView 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 4f8ea49 - Browse repository at this point
Copy the full SHA 4f8ea49View 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 262703c - Browse repository at this point
Copy the full SHA 262703cView 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 077979f - Browse repository at this point
Copy the full SHA 077979fView 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 c04ec2c - Browse repository at this point
Copy the full SHA c04ec2cView 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 4139c0a - Browse repository at this point
Copy the full SHA 4139c0aView 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 2259e0d - Browse repository at this point
Copy the full SHA 2259e0dView 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 73d2767 - Browse repository at this point
Copy the full SHA 73d2767View 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 d6394e5 - Browse repository at this point
Copy the full SHA d6394e5View 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 1e10ca0 - Browse repository at this point
Copy the full SHA 1e10ca0View 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 a580eef - Browse repository at this point
Copy the full SHA a580eefView 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 3554c3a - Browse repository at this point
Copy the full SHA 3554c3aView 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 22c5067 - Browse repository at this point
Copy the full SHA 22c5067View commit details -
Rollup merge of rust-lang#48101 - Mark-Simulacrum:new-books, r=stevek…
…labnik Update books for next release r? @steveklabnik
Configuration menu - View commit details
-
Copy full SHA for a37a329 - Browse repository at this point
Copy the full SHA a37a329View commit details -
Rollup merge of rust-lang#48107 - matthiaskrgr:typo__substract_to_sub…
…tract, r=kennytm fix typo: substract -> subtract
Configuration menu - View commit details
-
Copy full SHA for 6605d03 - Browse repository at this point
Copy the full SHA 6605d03View commit details -
Rollup merge of rust-lang#48100 - Mark-Simulacrum:fetch-nand, r=alexc…
…richton Add fetch_nand to atomics I think this is all fine but I have little familiarity with the atomic code (or libcore in general) so I may have accidentally done something wrong here... cc rust-lang#13226 (the tracking issue)
Configuration menu - View commit details
-
Copy full SHA for 8550ac8 - Browse repository at this point
Copy the full SHA 8550ac8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ee3e39 - Browse repository at this point
Copy the full SHA 7ee3e39View 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 49f7ccd - Browse repository at this point
Copy the full SHA 49f7ccdView commit details -
Explain unusual debugging code in librustc
Introduced in rust-lang#47828 to help track down some bugs, it landed a bit hastily so this is intended on cleaning it up a bit.
Configuration menu - View commit details
-
Copy full SHA for 3a96767 - Browse repository at this point
Copy the full SHA 3a96767View 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 c888f72 - Browse repository at this point
Copy the full SHA c888f72View commit details -
Rollup merge of rust-lang#48120 - matthiaskrgr:typos_src_1, r=alexcri…
…chton fix typos in src/{bootstrap,ci,etc,lib{backtrace,core,fmt_macros}} via codespell
Configuration menu - View commit details
-
Copy full SHA for 18d7be3 - Browse repository at this point
Copy the full SHA 18d7be3View commit details -
Rollup merge of rust-lang#48124 - alexcrichton:clean-up-debugging, r=…
…kennytm Explain unusual debugging code in librustc Introduced in rust-lang#47828 to help track down some bugs, it landed a bit hastily so this is intended on cleaning it up a bit.
Configuration menu - View commit details
-
Copy full SHA for b37c602 - Browse repository at this point
Copy the full SHA b37c602View commit details -
Rollup merge of rust-lang#47547 - varkor:infinite-iterators-warning-d…
…oc, r=frewsxcv Document the behaviour of infinite iterators on potentially-computable methods It’s not entirely clear from the current documentation what behaviour calling a method such as `min` on an infinite iterator like `RangeFrom` is. One might expect this to terminate, but in fact, for infinite iterators, `min` is always nonterminating (at least in the standard library). This adds a quick note about this behaviour for clarification.
Configuration menu - View commit details
-
Copy full SHA for 4a82718 - Browse repository at this point
Copy the full SHA 4a82718View commit details