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

Remove --cfg s2n_quic_unstable #2190

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

Mark-Simulacrum
Copy link
Collaborator

This cfg (intentionally) prevents a downstream library from wrapping s2n-quic unstable API internally without the final build explicitly opting into that instability. Unfortunately, with s2n-quic-dc, we want to do exactly that. Essentially we'll be treating s2n-quic from s2n-quic-dc the same way we treat s2n-quic-core from s2n-quic.

For the time being drop the cfg entirely. Since it's only set to allow unstable features, we should technically be able to revert this change at some point (e.g., if dc stops depending on unstable surface area): it would be fairly similar to just breaking consumers of those unstable features, which is already allowed.

Call-outs:

Not sure I caught everything in this -- mostly relying on a grep for s2n_quic_unstable and just blindly updating cfgs.

Testing:

None.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This cfg (intentionally) prevents a downstream library from wrapping
s2n-quic unstable API internally without the final build explicitly
opting into that instability. Unfortunately, with s2n-quic-dc, we are
going to be doing exactly that.

For the time being drop the cfg entirely. Since it's only set to allow
unstable features, we should technically be able to revert this change
at some point (e.g., if dc stops depending on unstable surface area): it
would be fairly similar to just breaking consumers of those unstable
features, which is already allowed.
@camshaft camshaft merged commit c0bcef6 into aws:main Apr 24, 2024
117 of 118 checks passed
@Mark-Simulacrum Mark-Simulacrum deleted the remove-unstable-cfg branch April 24, 2024 17:26
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