Commit 3f183c8
committed
Always build external example/contract repos with latest stable Rust
The test-with-soroban-examples and test-with-openzeppelin-stellar-contracts
workflows installed Rust with a bare `rustup update` and no toolchain
override, so a rust-toolchain.toml pin (in this repo or the external repo)
could take effect. With the MSRV now at 1.93, an older pinned toolchain
makes cargo's MSRV-aware resolver pick an older soroban-sdk for transitive
deps (e.g. soroban-poseidon) than the path-patched local 26.0.1, compiling
two copies of soroban-sdk and failing with duplicate lang item (panic_impl)
errors. Force RUSTUP_TOOLCHAIN=stable so these builds always use the latest
stable Rust regardless of any pin.
https://claude.ai/code/session_015kBhoioxYh6bD9o6eb9Ksh1 parent 53afdac commit 3f183c8
2 files changed
Lines changed: 16 additions & 0 deletions
File tree
- .github/workflows
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
17 | 25 | | |
18 | 26 | | |
19 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
17 | 25 | | |
18 | 26 | | |
19 | 27 | | |
| |||
0 commit comments