Skip to content

Commit 92d0c7c

Browse files
sisureshleighmccullochgithub-actions[bot]Copilot
authored
Main into v25 (#1647)
### What Merge main into v25-preview --------- Co-authored-by: Leigh <351529+leighmcculloch@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent e516750 commit 92d0c7c

File tree

84 files changed

+1224
-1384
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+1224
-1384
lines changed

.github/workflows/rust.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ jobs:
264264
msrv="$(make msrv)"
265265
rustup install $msrv
266266
rustup target add --toolchain $msrv wasm32v1-none
267+
rustup component add rustfmt
267268
- uses: stellar/binaries@v45
268269
with:
269270
name: cargo-hack

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,14 @@ jobs:
7575
run: |
7676
# TODO: Update this patch logic to use `cargo add` once this issue is resolved: https://github.com/rust-lang/cargo/issues/16101
7777
crates=$(cd ${{ github.workspace }}/rs-soroban-sdk && cargo metadata --format-version 1 --no-deps | jq -r '.packages[] | select(.publish != []) | .name')
78-
find . -name Cargo.toml | while read file; do
78+
79+
# Find Cargo.toml files to patch
80+
local_files=$(find . -name Cargo.toml)
81+
workspace_root=$(cargo metadata --format-version 1 --no-deps | jq -r '.workspace_root')
82+
files=$(echo "$local_files"; echo "$workspace_root/Cargo.toml")
83+
84+
# Patch local files and workspace root (sort -u to deduplicate)
85+
echo "$files" | sort -u | while read -r file; do
7986
echo Patching "$file" ...
8087
dir=$(dirname "$file")
8188
for crate in $crates; do

Cargo.lock

Lines changed: 51 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)