8000 Feat: non-static string for ErrorCode and spectest by xonx4l · Pull Request #4564 · WasmEdge/WasmEdge · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@xonx4l
Copy link
@xonx4l xonx4l commented Jan 27, 2026

Fixes #4444

Implements support for dynamic error messages in the Component Model validator to satisfy spectests requirements.

I modified the Validator to store a formatted error string internally (using fmt) when a specific error occurs. The CLI tool then checks this string first if it's set it prints the dynamic message instead of the static one.

Validated that the build passes.

Signed-off-by: xonx <119700621+xonx4l@users.noreply.github.com>
@github-project-automation github-project-automation bot moved this to Triage-required in WasmEdge Roadmap Jan 27, 2026
@github-actions github-actions bot added the c-CLI An issue related to WasmEdge CLI tools label Jan 27, 2026
@xonx4l xonx4l marked this pull request as draft January 27, 2026 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c-CLI An issue related to WasmEdge CLI tools

Projects

Status: Triage-required

Development

Successfully merging this pull request may close these issues.

feat: Component Model: non-static string for ErrorCode and spectest

1 participant

0