Repository navigation
Description
Pages:
- https://developers.stellar.org/docs/build/smart-contracts/getting-started/hello-world
- The smart-contracts agent skill (
.mintlify/skills/smart-contracts/SKILL.md)
Files: docs/build/smart-contracts/getting-started/hello-world.mdx:309-312, .mintlify/skills/smart-contracts/SKILL.md:137-145, 326, 452-454, 594, 705-719
What's wrong:
- Hello World (lines 309-312) says
stellar contract buildcan be thought of as "a shortcut for"cargo build --target wasm32v1-none --release. With thesoroban-sdk = "28"the same page sets up (line 50), that command fails:soroban-sdk requires stellar-cli v25.2.0+ to build a contract. To fix, build with stellar contract build. - The skill's CI example (lines 705-719) runs
cargo build --release --target wasm32-unknown-unknownon the stable Rust toolchain. soroban-sdk's build script refuses that target on Rust 1.82 and later, in 28.0.0 and in the 25.0.1 the skill itself pins (line 58). So the CI job the skill gives agents fails on its first run. - The skill's build output paths (lines 137, 145, 326, 452, 594) point at
target/wasm32-unknown-unknown/release/. On Rust 1.84 and later,stellar contract buildwrites totarget/wasm32v1-none/release/(v28.1.0contract/build.rs#L802-L823), so the deploy, import and size-check commands that use those paths don't find the file.
Outcome we're after:
Neither page presents a build command that fails with the soroban-sdk version it sets up, the skill's CI example passes as written, and the skill's paths match where the build puts the wasm. How to get there is up to whoever picks this up.
Reference:
- soroban-sdk 28.0.0
build.rs: refuses a contract build that doesn't come from stellar-cli 25.2.0+, and refuseswasm32-unknown-unknownon Rust 1.82+. The samewasm32-unknown-unknowncheck is in 25.0.1. stellar contract build(v28.1.0contract/build.rs).
How to check the fix:
- Following Hello World as written with soroban-sdk 28 and Rust stable, every build command on the page succeeds.
- The skill's CI example passes on a fresh GitHub Actions runner with Rust stable, for a contract on the soroban-sdk version the skill pins.
- Following the skill's build, deploy and import steps, every
--wasmandcontractimport!path exists afterstellar contract build. pnpm validatepasses.
How we found it: Built a minimal contract on soroban-sdk 28.0.0 with Rust 1.97: both cargo build --target wasm32v1-none --release and cargo build --release --target wasm32-unknown-unknown fail in soroban-sdk's build script. In the HackMeridian 2026 hackathon, Pledge's first CI run failed on the SDK 28 refusal (jzelada97/Pledge@0714d3b), and Caravel and Stellar RTGS wrote down the same thing in comments.
Why it matters: Hello World is where most contract developers start, and the skill is what coding agents read when they set up CI. 23 hackathon repos run the CLI in CI.
Related: #2482 (closed; added a troubleshooting entry for the wasm32-unknown-unknown error), #2973 (other commands in the same skill that fail).
Activity
stellar-doxie commentedon Nov 1, 2026
🤖 Automated message from the Stellar Triage Bot.
I saw this issue. Nobody has called me in yet, so I take no action on it.
How to reach me:
/triage, add thebot:takelabel, or assign @kaankacar, @ElliotFriend or @wmendes./triage stop.bot:hands-offlabel.oceans404 commentedon Nov 1, 2026
/triage
stellar-doxie commentedon Nov 2, 2026
🤖 Automated message from the Stellar Triage Bot.
Working this because @oceans404 added bot:take.
I am checking the build commands and wasm paths against soroban-sdk and stellar-cli now.
stellar-doxie commentedon Nov 2, 2026
🤖 Automated message from the Stellar Triage Bot.
Working this because @oceans404 added bot:take.
I opened #2991 to fix this.
cargo build"shortcut" and says to build withstellar contract build.stellar contract build. All paths now usetarget/wasm32v1-none/release/.checksjob and the Mintlify preview pass.A maintainer reviews and merges it. #2973 still covers the other skill commands.
kalepail commentedon Nov 2, 2026
Raven independently rechecked sd-075 on 2026-11-02 and confirmed the original trigger is resolved live.
Live recheck: 2026-11-02T21:23:41Z https://developers.stellar.org/docs/build/smart-contracts/getting-started/hello-world: no 'shortcut for' text; the page says a direct cargo build --target wasm32v1-none --release fails under soroban-sdk 28 or later with 'soroban-sdk requires stellar-cli v25.2.0+ to build a contract'
The active finding is being retired under the ephemeral improvements lifecycle. Immutable source snapshot: https://github.com/stellar-experimental/stellar-raven/blob/ea544f5f190552cb7616c80407aa24fb550e75c9/improvements/stellar-docs/sd-075-hello-world-build-wrapper-claim.md
improvements: retire sd-075 (stellar-docs#2991 deployed)
improvements: retire sd-075 (stellar-docs#2991 deployed) (#326)