Skip to content

Fix duplicate-key error in wasm target compilation check#593

Draft
Copilot wants to merge 1 commit into
dependabot/npm_and_yarn/cddl-lsp/server/vscode-languageserver-protocol-3.18.0from
copilot/fix-compilation-check-wasm-target
Draft

Fix duplicate-key error in wasm target compilation check#593
Copilot wants to merge 1 commit into
dependabot/npm_and_yarn/cddl-lsp/server/vscode-languageserver-protocol-3.18.0from
copilot/fix-compilation-check-wasm-target

Conversation

Copilot AI commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

The Compilation check for wasm target (stable) job failed with a TOML duplicate key error because main already defines [package.metadata.wasm-pack.profile.release], and this branch added a second copy — so the PR-merge tree contained the key twice, aborting cargo check before compilation.

error: duplicate key
   --> Cargo.toml:153:37
    |
153 | [package.metadata.wasm-pack.profile.release]

Changes

  • Cargo.toml: Remove the redundant [package.metadata.wasm-pack.profile.release] block added by this branch. The equivalent wasm-opt = false setting inherited from main is preserved, so wasm-opt stays disabled for wasm-pack builds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants