diff --git a/src/cmd_build.rs b/src/cmd_build.rs index 5b0d275..c7dd212 100644 --- a/src/cmd_build.rs +++ b/src/cmd_build.rs @@ -66,7 +66,7 @@ pub fn build_module( ]; let output = if only_wasip1 { - unimplemented!(); + unimplemented!("Building wasip1 Go apps isn't supported quite yet."); // TODO: for when/if we decide to allow users to build wasm modules without componentizing them #[allow(unreachable_code)] Command::new(&go) diff --git a/src/cmd_test.rs b/src/cmd_test.rs index 02c88a2..b5a5b99 100644 --- a/src/cmd_test.rs +++ b/src/cmd_test.rs @@ -74,7 +74,7 @@ pub fn build_test_module( .env("GOARCH", "wasm") .output()? } else { - unimplemented!(); + unimplemented!("Please use the --wasip1 flag when building unit tests"); // TODO: for when we figure out how wasip2 tests are to be run #[allow(unreachable_code)]