Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make CMSG_SPACE on aix const #3176

Merged
merged 1 commit into from
Apr 2, 2023

Conversation

coolreader18
Copy link
Contributor

Now CMSG_SPACE is const (when libc_const_extern_fn) on every platform that has it

@rustbot
Copy link
Collaborator

rustbot commented Mar 29, 2023

r? @JohnTitor

(rustbot has picked a reviewer for you, use r? to override)

@JohnTitor
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Apr 1, 2023

📌 Commit 050d597 has been approved by JohnTitor

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Apr 1, 2023

⌛ Testing commit 050d597 with merge aee5c87...

bors added a commit that referenced this pull request Apr 1, 2023
Make CMSG_SPACE on aix const

Now `CMSG_SPACE` is const (when `libc_const_extern_fn`) on every platform that has it
@bors
Copy link
Contributor

bors commented Apr 1, 2023

💔 Test failed - checks-cirrus-freebsd-14

@JohnTitor
Copy link
Member

@bors retry

@bors
Copy link
Contributor

bors commented Apr 2, 2023

⌛ Testing commit 050d597 with merge e0d66cd...

@bors
Copy link
Contributor

bors commented Apr 2, 2023

☀️ Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14
Approved by: JohnTitor
Pushing e0d66cd to master...

@bors bors merged commit e0d66cd into rust-lang:master Apr 2, 2023
10 checks passed
ids1024 added a commit to ids1024/rustix that referenced this pull request Nov 1, 2023
Since rust-lang/libc#3176, `CMSG_SPACE` is
always `const` in `libc`.

`try_into` and `expect` aren't `const`, but this should do the same
thing.
ids1024 added a commit to ids1024/rustix that referenced this pull request Nov 1, 2023
Since rust-lang/libc#3176, `CMSG_SPACE` is
always `const` in `libc`.

`try_into` and `expect` aren't `const`, but this should do the same
thing.
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.

None yet

4 participants