Skip to content

Change the futex timeout argument to u32.#1632

Open
sunfishcode wants to merge 1 commit into
mainfrom
sunfishcode/timeout
Open

Change the futex timeout argument to u32.#1632
sunfishcode wants to merge 1 commit into
mainfrom
sunfishcode/timeout

Conversation

@sunfishcode

Copy link
Copy Markdown
Member

The futex documentation has changed from documenting the timeout argument as being a u32 value casted to a pointer to being a ... argument.

So, change rustix to pass a u32 argument instead of casting it to a pointer first. This also fixes miri errors about that cast.

Fixes #1627.

The futex documentation has changed from documenting the `timeout`
argument as being a `u32` value casted to a pointer to being a
`...` argument.

So, change rustix to pass a `u32` argument instead of casting it
to a pointer first. This also fixes miri errors about that cast.

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

Labels

None yet

1 participant