Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename wasi target to wasip1, following the change in FPC #748

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

michaliskambi
Copy link
Contributor

This PR will fix #747 .

It is mostly a straightforward rename wasi -> wasip1.

Plus, 2 hacks to use the existing cross-libs with new name:

  1. In sources/installermanager.pas I added a hack if CrossOS_Target=TOS.wasip1 then s:='Wasi';, to download cross-libs from the old URL.
  2. In sources/installerfpc.pas I added a hack to rename the directory wasm32-wasi -> wasm32-wasip1.

I do not recommend to apply these pieces of PR, I recommend to change the cross-libs layout and name on the server -> then you can likely avoid these 2 "hacks" I mentioned above and have simpler code.

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.

Rename OS target wasi to wasip1
1 participant