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 DataPayload::new_owned() no longer const #4456

Merged
merged 2 commits into from
Dec 18, 2023

Conversation

Manishearth
Copy link
Member

@Manishearth Manishearth commented Dec 13, 2023

Technically breaking, but I think this constness was a mistake and we don't use it internally (and there's very little reason for someone to use it externally, the static stuff exists).

This is useful for #4449 ; it allows us to reference statics in the constructor of DataPayload() which lets us reference a proper sentinel rather than a made-up value that will not work in WASM.

Needs approval:

@Manishearth Manishearth requested review from sffc and a team as code owners December 13, 2023 21:11
@Manishearth Manishearth added the needs-approval One or more stakeholders need to approve proposal label Dec 13, 2023
@sffc
Copy link
Member

sffc commented Dec 18, 2023

robertbastian removed their request for review 4 days ago

Given that we have approval from 2 organizations, I think we can consider this mergeable.

@Manishearth Manishearth merged commit 1d975c4 into unicode-org:main Dec 18, 2023
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-approval One or more stakeholders need to approve proposal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants