rust-lang / jobserver-rs

Apache License 2.0
69 stars 39 forks source link

fix try_acquire for wasm target #84

Closed jozanza closed 4 months ago

jozanza commented 4 months ago

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.