Skip to content

Make the flock tests more robust - #1499

Merged
sunfishcode merged 1 commit into
bytecodealliance:mainfrom
asomers:nfs-lock
Aug 22, 2025
Merged

sunfishcode merged 1 commit into
bytecodealliance:mainfrom
asomers:nfs-lock

Conversation

@asomers

@asomers asomers commented Aug 17, 2025

Copy link
Copy Markdown
Contributor

Instead of attempting to lock Cargo.toml, use a temporary file. This fixes test failures that result from the source file system not supporting flock, like some NFS file systems.

Instead of attempting to lock Cargo.toml, use a temporary file.  This
fixes test failures that result from the source file system not
supporting flock, like some NFS file systems.
@sunfishcode
sunfishcode merged commit 83bd4bd into bytecodealliance:main Aug 22, 2025
18 of 51 checks passed
@sunfishcode

Copy link
Copy Markdown
Member

Thanks!

@sunfishcode

Copy link
Copy Markdown
Member

This is now released in rustix 1.1.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants