Skip to content

Commit 7f894f4

Browse files
Skip privacy-pools in soroban-examples CI (#1811)
### What Exclude the `privacy-pools` example from the soroban-examples CI matrix. ### Why It depends on `soroban-poseidon`, which transitively depends on `soroban-sdk` from crates.io. Cargo cannot override a transitive dependency when the version does not match the semver compatibility range defined by the importer, resulting in two copies of `soroban-sdk` and duplicate `panic_impl` lang item errors. Close #1723 --------- Co-authored-by: mootz12 <38118608+mootz12@users.noreply.github.com>
1 parent c32bb7e commit 7f894f4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/test-with-soroban-examples.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,16 @@ jobs:
4242
matrix:
4343
working-directory: ${{ fromJSON(needs.collect-examples.outputs.dirs) }}
4444
experimental_spec_shaking_v2: [true, false]
45+
# Exclude examples that depend on crates.io packages that transitively
46+
# depend on soroban-sdk (e.g. soroban-poseidon). Cargo does not provide
47+
# a way to override the version of soroban-sdk required as a transitive
48+
# dependency of another dependency where the version to override is a
49+
# different major version or does not match the semver compatibility
50+
# defined by the importer, causing two copies of soroban-sdk to be
51+
# compiled and duplicate lang item (panic_impl) errors.
52+
# https://github.com/stellar/rs-soroban-sdk/issues/1723
53+
exclude:
54+
- working-directory: privacy-pools
4555
defaults:
4656
run:
4757
working-directory: soroban-examples/${{ matrix.working-directory }}

0 commit comments

Comments
 (0)