Skip to content

Commit 766bdce

Browse files
committed
Auto merge of #122602 - ChrisDenton:rollup-f0vumtg, r=ChrisDenton
Rollup of 7 pull requests Successful merges: - #122323 (configure.py: add flag for loongarch64 musl-root) - #122372 (prevent notifying the same changes more than once) - #122390 (Bump windows-bindgen to 0.55.0) - #122401 (Check library crates for all tier 1 targets in PR CI) - #122489 (Bump `cargo update` PR more often) - #122583 (Use `UnsafeCell` for fast constant thread locals) - #122590 (bootstrap: Don't name things copy that are not copies) r? `@ghost` `@rustbot` modify labels: rollup
2 parents 2ffa3c8 + d3ad841 commit 766bdce

File tree

16 files changed

+330
-296
lines changed

16 files changed

+330
-296
lines changed

.github/workflows/dependencies.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
schedule:
77
# Run weekly
88
- cron: '0 0 * * Sun'
9+
# Re-bump deps every 4 hours
10+
- cron: '0 */4 * * *'
911
workflow_dispatch:
1012
# Needed so we can run it manually
1113
permissions:
@@ -135,8 +137,8 @@ jobs:
135137
gh pr edit cargo_update --title "${PR_TITLE}" --body-file body.md --repo $GITHUB_REPOSITORY
136138
137139
- name: open new pull request
138-
# Only run if there wasn't an existing PR
139-
if: steps.edit.outcome != 'success'
140+
# Only run if there wasn't an existing PR and if this is the weekly run
141+
if: steps.edit.outcome != 'success' && github.event.schedule == '0 0 * * Sun'
140142
env:
141143
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
142144
run: gh pr create --title "${PR_TITLE}" --body-file body.md --repo $GITHUB_REPOSITORY

Cargo.lock

+6-4
Original file line numberDiff line numberDiff line change
@@ -6280,12 +6280,14 @@ dependencies = [
62806280

62816281
[[package]]
62826282
name = "windows-bindgen"
6283-
version = "0.52.0"
6283+
version = "0.55.0"
62846284
source = "registry+https://github.com/rust-lang/crates.io-index"
6285-
checksum = "970efb0b6849eb8a87a898f586af7cc167567b070014c7434514c0bde0ca341c"
6285+
checksum = "073ff8a486ebad239d557809d2cd5fe5e04ee1de29e09c6cd83fb0bae19b8a4c"
62866286
dependencies = [
62876287
"proc-macro2",
62886288
"rayon",
6289+
"serde",
6290+
"serde_json",
62896291
"syn 2.0.52",
62906292
"windows-metadata",
62916293
]
@@ -6301,9 +6303,9 @@ dependencies = [
63016303

63026304
[[package]]
63036305
name = "windows-metadata"
6304-
version = "0.52.0"
6306+
version = "0.55.0"
63056307
source = "registry+https://github.com/rust-lang/crates.io-index"
6306-
checksum = "218fd59201e26acdbb894fa2b302d1de84bf3eec7d0eb894ac8e9c5a854ee4ef"
6308+
checksum = "b602635050172a1fc57a35040d4d225baefc6098fefd97094919921d95961a7d"
63076309

63086310
[[package]]
63096311
name = "windows-sys"

library/std/src/fs/tests.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1782,6 +1782,7 @@ fn windows_unix_socket_exists() {
17821782
}
17831783
let mut addr = c::SOCKADDR_UN { sun_family: c::AF_UNIX, sun_path: mem::zeroed() };
17841784
let bytes = socket_path.as_os_str().as_encoded_bytes();
1785+
let bytes = core::slice::from_raw_parts(bytes.as_ptr().cast::<i8>(), bytes.len());
17851786
addr.sun_path[..bytes.len()].copy_from_slice(bytes);
17861787
let len = mem::size_of_val(&addr) as i32;
17871788
let result = c::bind(socket, ptr::addr_of!(addr).cast::<c::SOCKADDR>(), len);

0 commit comments

Comments
 (0)