Skip to content

Conversation

@dp-mason
Copy link
Contributor

@dp-mason dp-mason commented Dec 7, 2024

changed the default target from deprecated wasm32-wasi target to wasm32-wasip1. Added rustup target check to prepare.sh

…32-wasip1. Added rustup target check to prepare.sh

if ! (command_exists rustup); then
missing_deps=1
echo "❌ rustup is missing. Check your rust installation."
Copy link
Contributor

Choose a reason for hiding this comment

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

Note: not a blocker, but we should come back and add some links here about how to install rustup.

echo "❌ rustup is missing. Check your rust installation."
echo ""
elif ! (rustup target list --installed | grep -q '^wasm32-wasip1$'); then
if ! (rustup target add wasm32-wasip1); then
Copy link
Contributor

Choose a reason for hiding this comment

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

Also not a blocker, but we should install the unknown target as well

Copy link
Contributor

@bhelx bhelx left a comment

Choose a reason for hiding this comment

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

Much appreciated!

@dp-mason
Copy link
Contributor Author

dp-mason commented Dec 7, 2024

Much appreciated!

No prob!

@bhelx bhelx merged commit 8532197 into dylibso:main Dec 8, 2024
1 check passed
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