Skip to content

Make VxWorks shims unsafe#3727

Merged
JohnTitor merged 1 commit into
rust-lang:mainfrom
jdygert-spok:patch-1
Jun 15, 2024
Merged

Make VxWorks shims unsafe#3727
JohnTitor merged 1 commit into
rust-lang:mainfrom
jdygert-spok:patch-1

Conversation

@jdygert-spok

Copy link
Copy Markdown
Contributor

pread and pwrite don't technically need to be unsafe, but it is consistent and more convenient for avoiding the unused_unsafe warning across targets.

posix_memalign must be unsafe since it writes to the ptr arg memptr.

This is a breaking change.

`pread` and `pwrite` don't technically need to be `unsafe`, but it is consistent and more convenient for avoiding the `unused_unsafe` warning across targets.
@rustbot

rustbot commented May 28, 2024

Copy link
Copy Markdown
Collaborator

r? @JohnTitor

rustbot has assigned @JohnTitor.
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

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants