Skip to content

chore: migrate rust/backend_wasm64 to icp-cli#1432

Merged
raymondk merged 2 commits into
masterfrom
chore/migrate-rust-backend-wasm64-to-icp-cli
Jul 9, 2026
Merged

chore: migrate rust/backend_wasm64 to icp-cli#1432
raymondk merged 2 commits into
masterfrom
chore/migrate-rust-backend-wasm64-to-icp-cli

Conversation

@marc0olo

@marc0olo marc0olo commented Jul 9, 2026

Copy link
Copy Markdown
Member

Summary

  • Removes dfx.json, BUILD.md, and .devcontainer/ (dfx-era artifacts no longer needed)
  • Updates backend/Cargo.toml: edition = "2024", ic-cdk = "0.20", candid = "0.10"
  • Adds test.sh with a numbered test for the greet query function
  • Updates README.md: comments out ICP Ninja badge, updates prerequisites format per AGENTS.md, updates security best practices link to https://docs.internetcomputer.org/guides/security/overview; retains all Wasm64 explanation content
  • Adds CI workflow at .github/workflows/backend_wasm64.yml using icp-dev-env-rust:1.0.1; nightly toolchain is installed by build.sh at build time

The custom build: in icp.yaml is kept as-is — Wasm64 requires cargo +nightly -Z build-std which cannot be expressed with the standard @dfinity/rust recipe.

Test plan

  • CI passes: icp deploy builds with nightly Wasm64 toolchain, bash test.sh asserts greet("World") returns "Hello, World!"
  • dfx.json, BUILD.md, .devcontainer/ are absent
  • backend/Cargo.toml shows edition = "2024" and ic-cdk = "0.20"
  • test.sh is executable
  • Security best practices link resolves

🤖 Generated with Claude Code

- Remove dfx.json, BUILD.md, .devcontainer/ (dfx artifacts)
- Update backend/Cargo.toml: edition 2024, ic-cdk 0.20, candid 0.10
- Add test.sh with greet query test
- Update README: comment out ICP Ninja badge, update prerequisites
  format and security best practices link
- Add CI workflow (.github/workflows/backend_wasm64.yml) using
  icp-dev-env-rust:1.0.1 with nightly toolchain via build.sh

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@marc0olo marc0olo requested review from a team as code owners July 9, 2026 10:44
@raymondk raymondk merged commit 9d35b04 into master Jul 9, 2026
6 checks passed
@raymondk raymondk deleted the chore/migrate-rust-backend-wasm64-to-icp-cli branch July 9, 2026 13:16
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