-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 19 pull requests #39563
Rollup of 19 pull requests #39563
Commits on Jan 9, 2017
-
Support unprivileged symlink creation in Windows
Symlink creation on Windows has in the past basically required admin; it’s being opened up a bit in the Creators Update, so that at least people who have put their computers into Developer Mode will be able to create symlinks without special privileges. (Microsoft are being cautious about it all; the Developer Mode requirement makes it so that it this won’t be as helpful as I’d like, but it’s still an improvement over requiring admin.) Because of compatibility concerns, they’ve hidden this new functionality behind a new flag in the CreateSymbolicLink dwFlags: SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE. So we add this flag in order to join the party. Older Windows doesn’t like this new flag, though, so if we encounter ERROR_INVALID_PARAMETER we try again without the new flag. Sources: - https://blogs.windows.com/buildingapps/2016/12/02/symlinks-windows-10/ is the official announcement (search for CreateSymbolicLink) - https://news.ycombinator.com/item?id=13096354 on why the new flag. - https://twitter.com/richturn_ms/status/818167548269051905 confirming that Developer Mode will still be required.
Configuration menu - View commit details
-
Copy full SHA for 02ae1e1 - Browse repository at this point
Copy the full SHA 02ae1e1View commit details
Commits on Jan 10, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 9903975 - Browse repository at this point
Copy the full SHA 9903975View commit details
Commits on Jan 16, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 6c94089 - Browse repository at this point
Copy the full SHA 6c94089View commit details
Commits on Jan 17, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 27f7615 - Browse repository at this point
Copy the full SHA 27f7615View commit details
Commits on Jan 18, 2017
-
Configuration menu - View commit details
-
Copy full SHA for b40432c - Browse repository at this point
Copy the full SHA b40432cView commit details
Commits on Jan 19, 2017
-
Expand documentation of process::exit and exec
Show a conventional way to use process::exit when destructors are considered important and also mention that the same caveats wrt destructors apply to exec as well.
Configuration menu - View commit details
-
Copy full SHA for c2eab73 - Browse repository at this point
Copy the full SHA c2eab73View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2bafbba - Browse repository at this point
Copy the full SHA 2bafbbaView commit details
Commits on Jan 20, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 62c088c - Browse repository at this point
Copy the full SHA 62c088cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 24cb5b7 - Browse repository at this point
Copy the full SHA 24cb5b7View commit details
Commits on Jan 24, 2017
-
Configuration menu - View commit details
-
Copy full SHA for bfabe81 - Browse repository at this point
Copy the full SHA bfabe81View commit details
Commits on Jan 26, 2017
-
Fix full path being output with
rustdoc -h
rustdoc would output the full path to the binary when calling it with the `-h` or `--help` flags. This is undesired behavior. It has been replaced with a hardcoded string `rustdoc` to fix the issue. Fixes rust-lang#39310
Configuration menu - View commit details
-
Copy full SHA for bb34856 - Browse repository at this point
Copy the full SHA bb34856View commit details
Commits on Jan 29, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 9128f61 - Browse repository at this point
Copy the full SHA 9128f61View commit details
Commits on Feb 2, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 395f23c - Browse repository at this point
Copy the full SHA 395f23cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 89f9767 - Browse repository at this point
Copy the full SHA 89f9767View commit details -
Configuration menu - View commit details
-
Copy full SHA for 823e185 - Browse repository at this point
Copy the full SHA 823e185View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0efdf3 - Browse repository at this point
Copy the full SHA a0efdf3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e793eb - Browse repository at this point
Copy the full SHA 8e793ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for 51e5cb5 - Browse repository at this point
Copy the full SHA 51e5cb5View commit details
Commits on Feb 3, 2017
-
Add a name for the parameter to
TryFrom::try_from
.Although signatures with anonymous parameters may not be deprecated or removed at this point, the team seems to agree that the ability to have an anonymous parameter is unfortunate historical baggage, and that we shouldn't create new code that uses it. Context: rust-lang#33417 (comment)
Configuration menu - View commit details
-
Copy full SHA for 2add6ac - Browse repository at this point
Copy the full SHA 2add6acView commit details -
rustbuild: Add x.py to source tarballs
We should be sure to add our build system entry point! Closes rust-lang#39476
Configuration menu - View commit details
-
Copy full SHA for 681bc5c - Browse repository at this point
Copy the full SHA 681bc5cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2cc84df - Browse repository at this point
Copy the full SHA 2cc84dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for c570cd6 - Browse repository at this point
Copy the full SHA c570cd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5dbaefb - Browse repository at this point
Copy the full SHA 5dbaefbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 085f046 - Browse repository at this point
Copy the full SHA 085f046View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c90dd7 - Browse repository at this point
Copy the full SHA 5c90dd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a99573 - Browse repository at this point
Copy the full SHA 6a99573View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40c9538 - Browse repository at this point
Copy the full SHA 40c9538View commit details
Commits on Feb 4, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 7444d07 - Browse repository at this point
Copy the full SHA 7444d07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 42f3ac5 - Browse repository at this point
Copy the full SHA 42f3ac5View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4ef361 - Browse repository at this point
Copy the full SHA b4ef361View commit details -
libstd/net: Add
peek
APIs to UdpSocket and TcpStreamThese methods enable socket reads without side-effects. That is, repeated calls to peek() return identical data. This is accomplished by providing the POSIX flag MSG_PEEK to the underlying socket read operations. This also moves the current implementation of recv_from out of the platform-independent sys_common and into respective sys/windows and sys/unix implementations. This allows for more platform-dependent implementations.
Tyler Julian committedFeb 4, 2017 Configuration menu - View commit details
-
Copy full SHA for a40be08 - Browse repository at this point
Copy the full SHA a40be08View commit details -
Make builtin derives a SyntaxExtension
This allows builtin derives to be registered and resolved, just like other derive types.
Configuration menu - View commit details
-
Copy full SHA for 0477daf - Browse repository at this point
Copy the full SHA 0477dafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a7380d - Browse repository at this point
Copy the full SHA 0a7380dView commit details -
Move derive macro expansion into the MacroExpander
This removes the expand_derives function, and sprinkles the functionality throughout the Invocation Collector, Expander and Resolver.
Configuration menu - View commit details
-
Copy full SHA for fbdd038 - Browse repository at this point
Copy the full SHA fbdd038View commit details -
Provide Entry-like API for Option
This implements rust-lang#39288. Thanks to @steveklabnik and @oli-obk for their review comments :)
Configuration menu - View commit details
-
Copy full SHA for 8e02ad0 - Browse repository at this point
Copy the full SHA 8e02ad0View commit details
Commits on Feb 5, 2017
-
Update pretty test for derive attributes
Remove attr-variant-data.rs since it relies on quirks in legacy custom derive resolution (undefined derives only print a warning). Add a new test which uses a defined proc macro derive, and tests pretty printing of proc macro derive attributes.
Configuration menu - View commit details
-
Copy full SHA for a201348 - Browse repository at this point
Copy the full SHA a201348View commit details -
correct version in which more_struct_aliases was/will be stable
The stabilizing commit is 5056a43, which is not in 1.14, but is (at time of writing) on the 1.16 beta branch.
Configuration menu - View commit details
-
Copy full SHA for 5e06aee - Browse repository at this point
Copy the full SHA 5e06aeeView commit details -
Rollup merge of rust-lang#38518 - nagisa:exec-doc, r=alexcrichton
Expand documentation of process::exit and exec Show a conventional way to use process::exit when destructors are considered important and also mention that the same caveats wrt destructors apply to exec as well.
Configuration menu - View commit details
-
Copy full SHA for 001bfb9 - Browse repository at this point
Copy the full SHA 001bfb9View commit details -
Rollup merge of rust-lang#38921 - chris-morgan:windows-unprivileged-s…
…ymlink-creation, r=alexcrichton Support unprivileged symlink creation in Windows Symlink creation on Windows has in the past basically required admin; it’s being opened up a bit in the Creators Update, so that at least people who have put their computers into Developer Mode will be able to create symlinks without special privileges. (It’s unclear from what Microsoft has said whether Developer Mode will be required in the final Creators Update release, but sadly I expect it still will be, so this *still* won’t be as helpful as I’d like.) Because of compatibility concerns, they’ve hidden this new functionality behind a new flag in the CreateSymbolicLink dwFlags: `SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE`. So we add this flag in order to join the party. Sources: - https://blogs.windows.com/buildingapps/2016/12/02/symlinks-windows-10/ is the official announcement (search for CreateSymbolicLink) - https://news.ycombinator.com/item?id=13096354 on why the new flag.
Configuration menu - View commit details
-
Copy full SHA for 6a4c906 - Browse repository at this point
Copy the full SHA 6a4c906View commit details -
Rollup merge of rust-lang#38959 - Amanieu:atomic128, r=alexcrichton
Add 128-bit atomics This is currently only supported on AArch64 since that is the only target which unconditionally supports 128-bit atomic operations. cc rust-lang#35118
Configuration menu - View commit details
-
Copy full SHA for c4c6c49 - Browse repository at this point
Copy the full SHA c4c6c49View commit details -
Rollup merge of rust-lang#38983 - APTy:udp-peek, r=aturon
Add peek APIs to std::net Adds "peek" APIs to `std::net` sockets, including: - `UdpSocket.peek()` - `UdpSocket.peek_from()` - `TcpStream.peek()` These methods enable socket reads without side-effects. That is, repeated calls to `peek()` return identical data. This is accomplished by providing the POSIX flag `MSG_PEEK` to the underlying socket read operations. This also moves the current implementation of `recv_from` out of the platform-independent `sys_common` and into respective `sys/windows` and `sys/unix` implementations. This allows for more platform-dependent implementations where necessary. Fixes rust-lang#38980
Configuration menu - View commit details
-
Copy full SHA for ca202fe - Browse repository at this point
Copy the full SHA ca202feView commit details -
Rollup merge of rust-lang#39009 - canndrew:default-unit-warnings, r=n…
…ikomatsakis Add warning for () to ! switch With feature(never_type) enabled diverging type variables will default to `!` instead of `()`. This can cause breakages where a trait is resolved on such a type. This PR emits a future-compatibility warning when it sees this happen.
Configuration menu - View commit details
-
Copy full SHA for 4f8ce9e - Browse repository at this point
Copy the full SHA 4f8ce9eView commit details -
Rollup merge of rust-lang#39107 - llogiq:branchless_filter_count, r=a…
…lexcrichton branchless .filter(_).count() I found that the branchless version is only slower if we have little to no branch misses, which usually isn't the case. I notice speedups between -5% (perfect prediction) and 60% (real world data).
Configuration menu - View commit details
-
Copy full SHA for 8163b4b - Browse repository at this point
Copy the full SHA 8163b4bView commit details -
Rollup merge of rust-lang#39193 - pepyakin:emcc-strip-panic-rt, r=ale…
…xcrichton Tell emscripten to remove exception handling code when panic=abort Fixes rust-lang#36900
Configuration menu - View commit details
-
Copy full SHA for 49cd748 - Browse repository at this point
Copy the full SHA 49cd748View commit details -
Rollup merge of rust-lang#39289 - shahn:option_entry, r=alexcrichton
Provide Entry-like API for Option This implements rust-lang#39288. I am wondering whether to use std::intrinsics::unreachable!() here. Both seems fine to me (the second match optimizes away in release mode).
Configuration menu - View commit details
-
Copy full SHA for 76e9ea7 - Browse repository at this point
Copy the full SHA 76e9ea7View commit details -
Rollup merge of rust-lang#39312 - mgattozzi:rustdoc-help-fix, r=alexc…
…richton Fix full path being output with `rustdoc -h` rustdoc would output the full path to the binary when calling it with the `-h` or `--help` flags. This is undesired behavior. It has been replaced with a hardcoded string `rustdoc` to fix the issue. Fixes rust-lang#39310
Configuration menu - View commit details
-
Copy full SHA for 5cfd5ed - Browse repository at this point
Copy the full SHA 5cfd5edView commit details -
Rollup merge of rust-lang#39393 - ollie27:stab_impls, r=alexcrichton
Fix a few impl stability attributes The versions show up in rustdoc.
Configuration menu - View commit details
-
Copy full SHA for 65b2477 - Browse repository at this point
Copy the full SHA 65b2477View commit details -
Rollup merge of rust-lang#39442 - keeperofdakeys:expand-derives, r=js…
…eyfried Expand derive macros in the MacroExpander This removes the expand_derives function, and sprinkles the functionality throughout the Invocation Collector, Expander and Resolver. Fixes rust-lang#39326 r? @jseyfried
Configuration menu - View commit details
-
Copy full SHA for 805a99e - Browse repository at this point
Copy the full SHA 805a99eView commit details -
Rollup merge of rust-lang#39443 - phungleson:remove-unresolved-things…
…, r=nikomatsakis Don't suggest to use things which weren't found either Fixes rust-lang#38054 The best code I can come up with, suggestions are welcome. Basically, removing ```. Did you mean to use `DoesntExist1`?``` in the code below, because it is useless. ```rust error[E0432]: unresolved import `DoesntExist1` --> src/lib.rs:1:5 | 1 | use DoesntExist1; | ^^^^^^^^^^^^ no `DoesntExist1` in the root error[E0432]: unresolved import `DoesntExist2` --> src/lib.rs:2:5 | 2 | use DoesntExist2; | ^^^^^^^^^^^^ no `DoesntExist2` in the root. Did you mean to use `DoesntExist1`? ```
Configuration menu - View commit details
-
Copy full SHA for cd5c520 - Browse repository at this point
Copy the full SHA cd5c520View commit details -
Rollup merge of rust-lang#39453 - nrc:save-path, r=nikomatsakis
save-analysis: be more paranoid about generated paths fixes rust-lang/rls#160
Configuration menu - View commit details
-
Copy full SHA for ece9240 - Browse repository at this point
Copy the full SHA ece9240View commit details -
Rollup merge of rust-lang#39454 - abonander:proc_macro_tracking_issue…
…, r=jseyfried Change tracking issue for `proc_macro` feature to rust-lang#38356 r? @jseyfried
Configuration menu - View commit details
-
Copy full SHA for 296c07e - Browse repository at this point
Copy the full SHA 296c07eView commit details -
Rollup merge of rust-lang#39471 - djc:bootstrap-user, r=alexcrichton
Fix bootstrap.py issues with new rustbuild build system (fixes rust-lang#39469)
Configuration menu - View commit details
-
Copy full SHA for e7f6c36 - Browse repository at this point
Copy the full SHA e7f6c36View commit details -
Rollup merge of rust-lang#39477 - jimmycuadra:try-from-parameter-name…
…, r=alexcrichton Add a name for the parameter to `TryFrom::try_from`. Although signatures with anonymous parameters may not be deprecated or removed at this point, the team seems to agree that the ability to have an anonymous parameter is unfortunate historical baggage, and that we shouldn't create new code that uses it. Context: rust-lang#33417 (comment)
Configuration menu - View commit details
-
Copy full SHA for e06fa7c - Browse repository at this point
Copy the full SHA e06fa7cView commit details -
Rollup merge of rust-lang#39478 - alexcrichton:add-xpy, r=japaric
rustbuild: Add x.py to source tarballs We should be sure to add our build system entry point! Closes rust-lang#39476
Configuration menu - View commit details
-
Copy full SHA for 403ca55 - Browse repository at this point
Copy the full SHA 403ca55View commit details -
Rollup merge of rust-lang#39527 - king6cong:bootstrap-doc, r=alexcric…
…hton README path correction
Configuration menu - View commit details
-
Copy full SHA for 94fd315 - Browse repository at this point
Copy the full SHA 94fd315View commit details -
Rollup merge of rust-lang#39552 - zackmdavis:more_struct_aliases_stab…
…ilization_version, r=petrochenkov correct version in which more_struct_aliases was/will be stable The stabilizing commit is 5056a43, which is not in 1.14, but is (at time of writing) on the 1.16 beta branch. [See discussion](rust-lang#39282 (comment)).
Configuration menu - View commit details
-
Copy full SHA for 0a09274 - Browse repository at this point
Copy the full SHA 0a09274View commit details