Skip to content

Enable unstable APIs for stable types. #2586

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
Jun 14, 2021

Conversation

halzy
Copy link
Contributor

@halzy halzy commented Jun 12, 2021

When unstable types are used in stable methods, those methods should be marked as unstable.

For example:
ReadableStream::pipe_to(writer: WritableStream) (WritableStream is unstable)

ReadableWritablePair is a dictionary of a ReadableStream and WritableStream. It's constructor and setter for the WritableStream should be unstable.

@alexcrichton
Copy link
Contributor

Thanks!

@alexcrichton alexcrichton merged commit 87406a6 into rustwasm:master Jun 14, 2021
@halzy halzy deleted the halzy/stable_downgrade branch June 14, 2021 16:31
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