Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make DataPayload::new_owned() no longer const (#4456)
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.
- Loading branch information