Skip to content

ci: add caching for rust jobs#222

Open
mkatychev wants to merge 5 commits into
mainfrom
ci/caching
Open

ci: add caching for rust jobs#222
mkatychev wants to merge 5 commits into
mainfrom
ci/caching

Conversation

@mkatychev

@mkatychev mkatychev commented Jul 2, 2026

Copy link
Copy Markdown
Member

Added rust-toolchain.toml as well

Comment thread rust-toolchain.toml
@@ -0,0 +1,3 @@
[toolchain]
channel = "stable"
targets = ["wasm32-wasip1"]

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we bump this to p2?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add p2 alongside? IIRC when building P3 components we still build p1 first then adapt our way there, due to upstream toolchain mismatches

@mkatychev mkatychev requested a review from vados-cosmonic July 2, 2026 18:10
@mkatychev mkatychev marked this pull request as ready for review July 2, 2026 18:10
Comment thread .github/workflows/publish-binaries.yml

@vados-cosmonic vados-cosmonic left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Comment thread .github/workflows/ci.yml Outdated
Comment thread rust-toolchain.toml
@@ -0,0 +1,3 @@
[toolchain]
channel = "stable"
targets = ["wasm32-wasip1"]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add p2 alongside? IIRC when building P3 components we still build p1 first then adapt our way there, due to upstream toolchain mismatches

@mkatychev

mkatychev commented Jul 2, 2026

Copy link
Copy Markdown
Member Author

#222 (comment)

Unless we explicitly call both p2 and p1 as targets, we should not gain any benefits here, rustup will just spend more time downloading. Perhaps orthogonalize the tests?

@vados-cosmonic

Copy link
Copy Markdown
Contributor

Yeah in this case then let's just leave it P1 and consider later!

@mkatychev mkatychev requested a review from vados-cosmonic July 2, 2026 19:46
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