Skip to content

Comments

this unsafe is not needed#1280

Open
asuffield wants to merge 1 commit intorayon-rs:mainfrom
asuffield:unnecessary-unsafe
Open

this unsafe is not needed#1280
asuffield wants to merge 1 commit intorayon-rs:mainfrom
asuffield:unnecessary-unsafe

Conversation

@asuffield
Copy link

No description provided.

@cuviper
Copy link
Member

cuviper commented Jan 15, 2026

We haven't documented any safety requirements, but that doesn't mean it is safe. At the very least, the caller must ensure that the JobRef's raw pointer remains valid until executed.

This is an internal function though, so what is your motivation for changing this?

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