Skip to content
Please note that GitHub no longer supports Internet Explorer.

We recommend upgrading to the latest Microsoft Edge, Google Chrome, or Firefox.

Learn more
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

platforms/vita #70

Open
wants to merge 3 commits into
base: master
from
Open

platforms/vita #70

wants to merge 3 commits into from

Conversation

@kouta-kun
Copy link

kouta-kun commented Jan 25, 2020

Hi! I made the following changes to the code so it can run on PSVita. "m3_wasi_unstable_path_open" currently doesn't work because only daveeftw's musl library has an "openat" implementation but I couldn't compile VitaSDK with it. However I was able to 'borrow' his clock implementation (MIT licensed so it's all good i think). For now it just works like the hardcoded emscripten implementation, maybe later i'll add a wasm file chooser.

@kouta-kun kouta-kun requested a review from vshymanskyy Jan 25, 2020
Copy link
Member

vshymanskyy left a comment

Thanks for a nice contribution. Please also add a README.md, explain how to setup build environment and build PS Vita platform. It would be nice to add a picture of Wasm3 running on it ;)

@@ -0,0 +1,9 @@
unsigned char fib32_wasm[] = {

This comment has been minimized.

Copy link
@vshymanskyy

vshymanskyy Jan 27, 2020

Member

fib32.wasm.h is already available in source/extra

/*
result = m3_LinkWASI (runtime->modules);
if (result) FATAL("m3_LinkWASI: %s", result);

This comment has been minimized.

Copy link
@vshymanskyy

vshymanskyy Jan 27, 2020

Member

Your changes to WASI below are basically not used (WASI is not linked).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.