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 wasi conditional compilation from wasmer-registry #3368

Merged
merged 2 commits into from
Nov 24, 2022

Conversation

Michael-F-Bryan
Copy link
Contributor

@Michael-F-Bryan Michael-F-Bryan commented Nov 24, 2022

The wasmer-registry crate can't compile to WASI at the moment because wasm-bus (used by wasm-bus-reqwest) is broken, and WASI doesn't support networking even if the crate compiled. I'm removing the code hidden behind #[cfg(target_os = "wasi")] because it's dead code at the moment.

I've also removed the conditional compilation for feature = "telemetry" and feature = "update-notifications" because this crate doesn't actually have any features. I think it should be fine to include those fields all the time because they are part of the config format, and let upstream (i.e. wasmer-cli) decide whether it wants to enable code for telemetry and undate notifications.

@Michael-F-Bryan Michael-F-Bryan added the priority-low Low priority issue label Nov 24, 2022
@fschutt
Copy link
Contributor

fschutt commented Nov 24, 2022

bors r+

@bors
Copy link
Contributor

bors bot commented Nov 24, 2022

Build succeeded:

  • Code lint

@bors bors bot merged commit fdcb452 into master Nov 24, 2022
@bors bors bot deleted the remove-wasi32-from-registry branch November 24, 2022 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority-low Low priority issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants