Skip to content

Constify CMSG_SPACE for all the targets #2132

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

Merged
merged 1 commit into from
Mar 30, 2021
Merged

Conversation

JohnTitor
Copy link
Member

CMSG_SPACE is a const fn for Linux but it isn't for other targets. This constifies it on all the targets for consistency.

Fixes #2087

@rust-highfive
Copy link

r? @Amanieu

(rust-highfive has picked a reviewer for you, use r? to override)

@Amanieu
Copy link
Member

Amanieu commented Mar 30, 2021

@bors r+

@bors
Copy link
Contributor

bors commented Mar 30, 2021

📌 Commit f1689d2 has been approved by Amanieu

bors added a commit that referenced this pull request Mar 30, 2021
Constify `CMSG_SPACE` for all the targets

`CMSG_SPACE` is a const fn for Linux but it isn't for other targets. This constifies it on all the targets for consistency.

Fixes #2087
@bors
Copy link
Contributor

bors commented Mar 30, 2021

⌛ Testing commit f1689d2 with merge 58b0e36...

@bors
Copy link
Contributor

bors commented Mar 30, 2021

💔 Test failed - checks-actions

@JohnTitor
Copy link
Member Author

@bors r=Amanieu

@bors
Copy link
Contributor

bors commented Mar 30, 2021

📌 Commit e187543 has been approved by Amanieu

@bors
Copy link
Contributor

bors commented Mar 30, 2021

⌛ Testing commit e187543 with merge f2e7721...

@bors
Copy link
Contributor

bors commented Mar 30, 2021

☀️ Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13
Approved by: Amanieu
Pushing f2e7721 to master...

@bors bors merged commit f2e7721 into rust-lang:master Mar 30, 2021
@JohnTitor JohnTitor deleted the cmsg-space branch March 30, 2021 09:45
@pacak pacak mentioned this pull request Jun 8, 2022
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.

CMSG_SPACE should be const
4 participants