From 6405f6ce45d43850ca427c4d80ca50369ee10405 Mon Sep 17 00:00:00 2001 From: Roman Volosatovs Date: Mon, 25 Sep 2023 12:25:44 +0200 Subject: [PATCH] feat: add support for Android releases Signed-off-by: Roman Volosatovs --- crates/wash-lib/src/start/wasmcloud.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/wash-lib/src/start/wasmcloud.rs b/crates/wash-lib/src/start/wasmcloud.rs index a84d8d18..99c64b82 100644 --- a/crates/wash-lib/src/start/wasmcloud.rs +++ b/crates/wash-lib/src/start/wasmcloud.rs @@ -243,9 +243,9 @@ where /// Helper function to determine the wasmCloud host release path given an os/arch and version fn wasmcloud_url(version: &str) -> String { - // NOTE(brooksmtownsend): I'm hardcoding `gnu` here because I'm not sure how to determine - // that programmatically. This essentially is what we had before (gnu only) but we do have a musl - // release that we should consider. + #[cfg(target_os = "android")] + let os = "linux-android"; + #[cfg(target_os = "macos")] let os = "apple-darwin";