-
Notifications
You must be signed in to change notification settings - Fork 824
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
3368: Remove wasi conditional compilation from wasmer-registry r=fschutt a=Michael-F-Bryan 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. Co-authored-by: Michael-F-Bryan <[email protected]> Co-authored-by: Felix Schütt <[email protected]>
- Loading branch information
Showing
3 changed files
with
5 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters