-
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 10 pull requests #93917
Rollup of 10 pull requests #93917
Commits on Jan 31, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 69803f7 - Browse repository at this point
Copy the full SHA 69803f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 71ff16b - Browse repository at this point
Copy the full SHA 71ff16bView commit details
Commits on Feb 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2d0bb0d - Browse repository at this point
Copy the full SHA 2d0bb0dView commit details -
Configuration menu - View commit details
-
Copy full SHA for bf0e862 - Browse repository at this point
Copy the full SHA bf0e862View commit details
Commits on Feb 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1115f15 - Browse repository at this point
Copy the full SHA 1115f15View commit details -
Configuration menu - View commit details
-
Copy full SHA for 755e475 - Browse repository at this point
Copy the full SHA 755e475View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc94079 - Browse repository at this point
Copy the full SHA cc94079View commit details -
Fix description of FilenameInvalid
Co-authored-by: Mara Bos <m-ou.se@m-ou.se>
Configuration menu - View commit details
-
Copy full SHA for 861f3c7 - Browse repository at this point
Copy the full SHA 861f3c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a898b31 - Browse repository at this point
Copy the full SHA a898b31View commit details -
Configuration menu - View commit details
-
Copy full SHA for d39a637 - Browse repository at this point
Copy the full SHA d39a637View commit details -
Configuration menu - View commit details
-
Copy full SHA for abb4a0e - Browse repository at this point
Copy the full SHA abb4a0eView commit details
Commits on Feb 11, 2022
-
Implement
AsFd
for&T
and&mut T
.Add implementations of `AsFd` for `&T` and `&mut T`, so that users can write code like this: ```rust pub fn fchown<F: AsFd>(fd: F, uid: Option<u32>, gid: Option<u32>) -> io::Result<()> { ``` with `fd: F` rather than `fd: &F`. And similar for `AsHandle` and `AsSocket` on Windows. Also, adjust the `fchown` example to pass the file by reference. The code can work either way now, but passing by reference is more likely to be what users will want to do. This is an alternative to rust-lang#93869, and is a simpler way to achieve the same goals: users don't need to pass borrowed-`BorrowedFd` arguments, and it prevents a pitfall in the case where users write `fd: F` instead of `fd: &F`.
Configuration menu - View commit details
-
Copy full SHA for 1f98ef7 - Browse repository at this point
Copy the full SHA 1f98ef7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22a24c9 - Browse repository at this point
Copy the full SHA 22a24c9View commit details -
fix mention of moved function in
rustc_hir
docsthe function was moved from `Crate` to `Map` in db9fea5 but the docs weren't updated
Configuration menu - View commit details
-
Copy full SHA for 45dc8eb - Browse repository at this point
Copy the full SHA 45dc8ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for f9cb01f - Browse repository at this point
Copy the full SHA f9cb01fView commit details -
Remove the alt_std_name option
This option introduced in rust-lang#15820 allows a custom crate to be imported in the place of std, but with the name std. I don't think there is any value to this. At most it is confusing users of a driver that uses this option. There are no users of this option on github. If anyone still needs it, they can emulate it injecting #![no_core] in addition to their own prelude.
Configuration menu - View commit details
-
Copy full SHA for 55ceed8 - Browse repository at this point
Copy the full SHA 55ceed8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ba4110 - Browse repository at this point
Copy the full SHA 7ba4110View commit details -
Rollup merge of rust-lang#90955 - JohnTitor:os-error-123-as-invalid-i…
…nput, r=m-ou-se Rename `FilenameTooLong` to `InvalidFilename` and also use it for Windows' `ERROR_INVALID_NAME` Address rust-lang#90940 (comment) `ERROR_INVALID_NAME` (i.e. "The filename, directory name, or volume label syntax is incorrect") happens if we pass an invalid filename, directory name, or label syntax, so mapping as `InvalidInput` is reasonable to me.
Configuration menu - View commit details
-
Copy full SHA for 5ccee0e - Browse repository at this point
Copy the full SHA 5ccee0eView commit details -
Rollup merge of rust-lang#91607 - FabianWolff:issue-91560-const-span,…
… r=jackh726 Make `span_extend_to_prev_str()` more robust Fixes rust-lang#91560. The logic in `span_extend_to_prev_str()` is currently quite brittle and fails if there is extra whitespace or something else in between, and it also should return an `Option` but doesn't currently.
Configuration menu - View commit details
-
Copy full SHA for 9bbd8ec - Browse repository at this point
Copy the full SHA 9bbd8ecView commit details -
Rollup merge of rust-lang#92895 - bjorn3:simplifications, r=jackh726
Remove some unused functionality * Remove the `alt_std_name` option * Remove the everybody loops pass * Make two functions private
Configuration menu - View commit details
-
Copy full SHA for 9c6b8c7 - Browse repository at this point
Copy the full SHA 9c6b8c7View commit details -
Rollup merge of rust-lang#93635 - GuillaumeGomez:missing-platform-spe…
…c-info, r=Amanieu Add missing platform-specific information on current_dir and set_current_dir Fixes rust-lang#93598.
Configuration menu - View commit details
-
Copy full SHA for 7020697 - Browse repository at this point
Copy the full SHA 7020697View commit details -
Rollup merge of rust-lang#93660 - aDotInTheVoid:rustdoc-type-tests, r…
…=CraftSpider rustdoc-json: Add some tests for typealias item r? `@CraftSpider` Improves rust-lang#81359 The test's arn't pretty, and I think eventually we need a better way of doing repeated tests on a deeply nested path, without repeating the way to get to that path `@rustbot` modify labels: +A-rustdoc-json +T-rustdoc +A-rustdoc +A-testsuite
Configuration menu - View commit details
-
Copy full SHA for 985e34e - Browse repository at this point
Copy the full SHA 985e34eView commit details -
Rollup merge of rust-lang#93782 - adamgemmell:dev/adagem01/split-paut…
…h, r=Amanieu Split `pauth` target feature Per discussion on rust-lang#86941 we'd like to split `pauth` into `paca` and `pacg` in order to better support possible future environments that only have the keys available for address or generic authentication. At the moment LLVM has the one `pauth` target_feature while Linux presents separate `paca` and `pacg` flags for feature detection. Because the use of [target_feature](https://rust-lang.github.io/rfcs/2045-target-feature.html) will "allow the compiler to generate code under the assumption that this code will only be reached in hosts that support the feature", it does not make sense to simply translate `paca` into the LLVM feature `pauth`, as it will generate code as if `pacg` is available. To accommodate this we error if only one of the two features is present. If LLVM splits them in the future we can remove this restriction without making a breaking change. r? `@Amanieu`
Configuration menu - View commit details
-
Copy full SHA for a516454 - Browse repository at this point
Copy the full SHA a516454View commit details -
Rollup merge of rust-lang#93858 - krallin:process-process_group, r=jo…
…shtriplett Add a `process_group` method to UNIX `CommandExt` - Tracking issue: rust-lang#93857 - RFC: rust-lang/rfcs#3228 Add a `process_group` method to `std::os::unix::process::CommandExt` that allows setting the process group id (i.e. calling `setpgid`) in the child, thus enabling users to set process groups while leveraging the `posix_spawn` fast path.
Configuration menu - View commit details
-
Copy full SHA for 544fcfe - Browse repository at this point
Copy the full SHA 544fcfeView commit details -
Rollup merge of rust-lang#93888 - sunfishcode:sunfishcode/impl-asfd-f…
…or-ref, r=joshtriplett Implement `AsFd` for `&T` and `&mut T`. Add implementations of `AsFd` for `&T` and `&mut T`, so that users can write code like this: ```rust pub fn fchown<F: AsFd>(fd: F, uid: Option<u32>, gid: Option<u32>) -> io::Result<()> { ``` with `fd: F` rather than `fd: &F`. And similar for `AsHandle` and `AsSocket` on Windows. Also, adjust the `fchown` example to pass the file by reference. The code can work either way now, but passing by reference is more likely to be what users will want to do. This is an alternative to rust-lang#93869, and is a simpler way to achieve the same goals: users don't need to pass borrowed-`BorrowedFd` arguments, and it prevents a pitfall in the case where users write `fd: F` instead of `fd: &F`. r? `@joshtriplett`
Configuration menu - View commit details
-
Copy full SHA for ee92dff - Browse repository at this point
Copy the full SHA ee92dffView commit details -
Rollup merge of rust-lang#93909 - saschanaz:patch-2, r=petrochenkov
Fix typo: explicitely -> explicitly
Configuration menu - View commit details
-
Copy full SHA for 329e505 - Browse repository at this point
Copy the full SHA 329e505View commit details -
Rollup merge of rust-lang#93910 - rosehuds:master, r=cjgillot
fix mention of moved function in `rustc_hir` docs The function was moved from `Crate` to `Map` in db9fea5 but these docs weren't updated
Configuration menu - View commit details
-
Copy full SHA for 73dc39e - Browse repository at this point
Copy the full SHA 73dc39eView commit details