Skip to content

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

Closed
anweiss with 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
Closed

Fix duplicate-key error in wasm target compilation check#593
anweiss with 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.

Copilot AI requested a review from anweiss June 15, 2026 18:41
@anweiss anweiss marked this pull request as ready for review June 29, 2026 21:17
@anweiss anweiss closed this Jun 29, 2026
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