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

fix try_acquire for wasm target #84

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

jozanza
Copy link
Contributor

@jozanza jozanza commented Apr 16, 2024

The wasm target's Client::try_acquire method doesn't compile because the return value doesn't match the method's signature. This PR fixes that by wrapping the return value in a Result which adheres to the method's signature.

@weihanglo weihanglo linked an issue Apr 18, 2024 that may be closed by this pull request
Copy link
Member

@weihanglo weihanglo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the bugfix!

@weihanglo weihanglo merged commit 7b96b41 into rust-lang:main Apr 18, 2024
15 checks passed
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.

Wasm Compile Target Broken in v0.1.30
2 participants