-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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 4 pull requests #124879
Rollup of 4 pull requests #124879
Commits on Apr 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a25b094 - Browse repository at this point
Copy the full SHA a25b094View commit details
Commits on May 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ab066ae - Browse repository at this point
Copy the full SHA ab066aeView commit details -
iOS/tvOS/watchOS/visionOS: Default to kernel-defined backlog in listen
This behavior is defined in general for the XNU kernel, not just macOS: https://github.com/apple-oss-distributions/xnu/blob/rel/xnu-10002/bsd/kern/uipc_socket.c
Configuration menu - View commit details
-
Copy full SHA for c64889c - Browse repository at this point
Copy the full SHA c64889cView commit details -
Apply suggestions from code review
Co-authored-by: Jubilee <46493976+workingjubilee@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 81f5175 - Browse repository at this point
Copy the full SHA 81f5175View commit details -
iOS/tvOS/watchOS/visionOS: Set the main thread name
Tested in the iOS simulator that the thread name is not set by default, and that setting it improves the debugging experience in lldb / Xcode.
Configuration menu - View commit details
-
Copy full SHA for aa606bb - Browse repository at this point
Copy the full SHA aa606bbView commit details -
iOS/tvOS/watchOS: Fix alloc w. large alignment on older versions
Tested on an old MacBook and the iOS simulator.
Configuration menu - View commit details
-
Copy full SHA for 53bd38b - Browse repository at this point
Copy the full SHA 53bd38bView commit details -
iOS/tvOS/watchOS/visionOS: Fix reading large files
Tested in the iOS simulator with something like: ``` let mut buf = vec![0; c_int::MAX as usize - 1 + 2]; let read_bytes = f.read(&mut buf).unwrap(); ```
Configuration menu - View commit details
-
Copy full SHA for 28622c9 - Browse repository at this point
Copy the full SHA 28622c9View commit details -
iOS/tvOS/watchOS/visionOS: Improve File Debug impl
This uses `libc::fcntl`, which, while not explicitly marked as available in the headers, is already used by `File::sync_all` and `File::sync_data` on these platforms, so should be fine to use here as well.
Configuration menu - View commit details
-
Copy full SHA for ff41c99 - Browse repository at this point
Copy the full SHA ff41c99View commit details
Commits on May 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 776f182 - Browse repository at this point
Copy the full SHA 776f182View commit details
Commits on May 8, 2024
-
Rollup merge of rust-lang#124470 - devnexen:no_sigpipe_fbsd, r=workin…
…gjubilee std::net: Socket::new_raw now set to SO_NOSIGPIPE on freebsd.
Configuration menu - View commit details
-
Copy full SHA for bc42f25 - Browse repository at this point
Copy the full SHA bc42f25View commit details -
Rollup merge of rust-lang#124782 - anatawa12:docs-create-new-already-…
…exists, r=workingjubilee add note about `AlreadyExists` to `create_new` Fixes rust-lang#119244
Configuration menu - View commit details
-
Copy full SHA for 40926fd - Browse repository at this point
Copy the full SHA 40926fdView commit details -
Rollup merge of rust-lang#124788 - madsmtm:reduce-target_os-macos, r=…
…workingjubilee Convert instances of `target_os = "macos"` to `target_vendor = "apple"` rust-lang#124491 migrated towards using `target_vendor = "apple"` more, as there's very little difference between iOS, tvOS, watchOS and visionOS. In that PR, I only did the changes where the standard library already had fixes for iOS, that I could confidently apply to the other targets. However, there's actually also not that big of a gap between macOS and the aforementioned platforms - so in this PR, I've gone through a few of the instances of `target_os = "macos"` and replaced it with `target_vendor = "apple"` to improve support on those platforms, see the commits for details. r? workingjubilee CC `@thomcc` `@simlay` (do tell me if I should stop pinging you on these Apple PRs) `@rustbot` label O-apple
Configuration menu - View commit details
-
Copy full SHA for 037c62a - Browse repository at this point
Copy the full SHA 037c62aView commit details -
Rollup merge of rust-lang#124838 - RalfJung:next_power_of_two, r=scot…
…tmcm next_power_of_two: add a doctest to show what happens on 0
Configuration menu - View commit details
-
Copy full SHA for ceb5ec3 - Browse repository at this point
Copy the full SHA ceb5ec3View commit details