Skip to content

std: Fix locking test on GNU/Hurd - #166412

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
sthibaul:lock
Nov 24, 2026
Merged

rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
sthibaul:lock

Conversation

@sthibaul

Copy link
Copy Markdown
Contributor

GNU/Hurd supports locking downgrade from EX to SH, but on the same file handle only.

@rustbot rustbot added A-filesystem Area: `std::fs` S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Nov 23, 2026
@rustbot

rustbot commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

r? @Mark-Simulacrum

rustbot has assigned @Mark-Simulacrum.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: @ChrisDenton, libs
  • @ChrisDenton, libs expanded to 38 candidates
  • Random selection from JohnTitor, Mark-Simulacrum

@workingjubilee workingjubilee left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you rejiggle the comment that's 2~3 lines up?

View changes since this review

GNU/Hurd supports locking downgrade from EX to SH, but on the same file
handle only.
@sthibaul

sthibaul commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor Author

can you rejiggle the comment that's 2~3 lines up?

yes, done so

@workingjubilee

Copy link
Copy Markdown
Member

cool!

@bors r+ rollup

@rust-bors

rust-bors Bot commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

📌 Commit cdaa8e7 has been tentatively approved by workingjubilee

It will be put into the queue for this repository once PR CI succeeds.

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 23, 2026
@workingjubilee

Copy link
Copy Markdown
Member

I guess Hurd is technically also "Unix" but like...

...the distressing reality of "there's Unix and then there's 'Unix'" pervades our code.

something something Xenix

rust-bors Bot pushed a commit that referenced this pull request Nov 24, 2026
Rollup of 11 pull requests

Successful merges:

 - #165769 (Fix invalid instantiation of fake intrinsic bodies)
 - #166374 (Undo accidental duplication checking for attributes on macro calls)
 - #166386 (Replace manual `AttributeParser` construction by `parse_limited_all`)
 - #162565 (Add `c_buffer_length` lint helper)
 - #166096 (llvm-wrapper: Pass more arguments to PreCodeGenCallback)
 - #166395 (std: fix positioned read/write on VxWorks)
 - #166404 (Change `ChildExt::kill_process_group` to be `&self`)
 - #166405 (Check for errors before encoding metadata)
 - #166412 (std: Fix locking test on GNU/Hurd)
 - #166413 (std: Fix symlink chmod test on GNU/Hurd)
 - #166421 (core: Stabilize `float_bits_const`)
@rust-bors
rust-bors Bot merged commit 4f9ac2b into rust-lang:main Nov 24, 2026
14 checks passed
@rustbot rustbot added this to the 1.102.0 milestone Nov 24, 2026
rust-bors Bot pushed a commit that referenced this pull request Nov 24, 2026
Rollup merge of #166412 - sthibaul:lock, r=workingjubilee

std: Fix locking test on GNU/Hurd

GNU/Hurd supports locking downgrade from EX to SH, but on the same file handle only.
flip1995 pushed a commit to flip1995/rust-clippy that referenced this pull request Nov 26, 2026
Rollup of 11 pull requests

Successful merges:

 - rust-lang/rust#165769 (Fix invalid instantiation of fake intrinsic bodies)
 - rust-lang/rust#166374 (Undo accidental duplication checking for attributes on macro calls)
 - rust-lang/rust#166386 (Replace manual `AttributeParser` construction by `parse_limited_all`)
 - rust-lang/rust#162565 (Add `c_buffer_length` lint helper)
 - rust-lang/rust#166096 (llvm-wrapper: Pass more arguments to PreCodeGenCallback)
 - rust-lang/rust#166395 (std: fix positioned read/write on VxWorks)
 - rust-lang/rust#166404 (Change `ChildExt::kill_process_group` to be `&self`)
 - rust-lang/rust#166405 (Check for errors before encoding metadata)
 - rust-lang/rust#166412 (std: Fix locking test on GNU/Hurd)
 - rust-lang/rust#166413 (std: Fix symlink chmod test on GNU/Hurd)
 - rust-lang/rust#166421 (core: Stabilize `float_bits_const`)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-filesystem Area: `std::fs` S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants