Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

chore(ci): Update wasm32-wasi reference for Rust 1.84#313

Closed
joonas wants to merge 1 commit intobytecodealliance:mainfrom
joonas:chore/update-rust-1_84
Closed

chore(ci): Update wasm32-wasi reference for Rust 1.84#313
joonas wants to merge 1 commit intobytecodealliance:mainfrom
joonas:chore/update-rust-1_84

Conversation

@joonas
Copy link
Contributor

@joonas joonas commented Jan 20, 2025

Per the failure in #312, Rust 1.84 deprecated wasm32-wasi target, and thus it now needs to be set to either wasm32-wasip1 or wasm32-wasip2.

I wasn't sure if we wanted to target p1 or p2, so I defaulted to p2, but happy to switch it to p1 if that's preferred.

Signed-off-by: Joonas Bergius <joonas@bergi.us>
@joonas
Copy link
Contributor Author

joonas commented Jan 20, 2025

Going to fold these into #312.

@joonas joonas closed this Jan 20, 2025
calvinrp pushed a commit that referenced this pull request Jan 20, 2025
I noticed #311 was
failing on the `diesel_cli` install step.

Digging in a bit, I noticed the [`ubuntu-latest` runner image was
changed](actions/runner-images#10636) to point
from [Ubuntu 22.04, which has `libsqlite3-dev` installed by
default](https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md#installed-apt-packages),
to [Ubuntu 24.04 instead and that no longer includes `libsqlite3-dev` in
the default apt
packages](https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md#installed-apt-packages).

This simply adjusts the features that are enabled from defaults to just
`postgres`, which is what the CI workflow uses.

Additionally I folded in the changes from #313:
> Per the failure in
#312, Rust 1.84
deprecated wasm32-wasi target, and thus it now needs to be set to either
wasm32-wasip1 or wasm32-wasip2.
> 
> I wasn't sure if we wanted to target p1 or p2, so I defaulted to p2,
but happy to switch it to p1 if that's preferred.

---------

Signed-off-by: Joonas Bergius <joonas@bergi.us>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant