From 32860a7d938108bc3b181dd81113414a090ae928 Mon Sep 17 00:00:00 2001 From: Andrew Steurer <94206073+asteurer@users.noreply.github.com> Date: Mon, 26 Oct 2026 23:29:38 -0500 Subject: [PATCH] fix: components now use full names instead of shortened canonical names Signed-off-by: Andrew Steurer <94206073+asteurer@users.noreply.github.com> --- src/utils.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/utils.rs b/src/utils.rs index f78f035..d4f629d 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -204,7 +204,9 @@ pub fn embed_wit(wasm_file: &Path, resolve: &Resolve, world: WorldId) -> Result< resolve, world, wit_component::StringEncoding::UTF8, - true, + // Disabled to keep full versioned interface names (e.g. `wasi:cli/exit@0.2.1`) + // rather than semver-canonical ones (e.g. `wasi:cli/exit@0.2`). + false, )?; fs::write(wasm_file, wasm).context(format!("failed to write '{}'", wasm_file.display()))?; Ok(())