Skip to content

Conversation

yurydelendik
Copy link

@yurydelendik yurydelendik commented Jun 13, 2019

There is ongoing efforts to support WASI for different runtimes/hosts such as node.js. Here is the changes I made to make compilation work for clang with "wasm32-wasi" target and the wasi-sdk. The "wasi_polyfill.*" code will be removed in final PR.

There is also minor change in the sassc: https://github.com/yurydelendik/sassc/tree/wasi . The build version of sassc on node: https://www.npmjs.com/package/sassc-wasi .

Please provide any feedback and TODO items to make the patch landable. Thanks.

@xzyfer
Copy link
Contributor

xzyfer commented Jun 13, 2019 via email

Copy link
Contributor

@mgreter mgreter left a comment

Choose a reason for hiding this comment

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

Overall looks ok. There is also the autotools build. Any plans to
add wasm target also there? It would also be good to know
which files in the wasm directory were auto generated.

@yurydelendik yurydelendik force-pushed the wasi branch 2 times, most recently from e365c52 to 2450903 Compare June 13, 2019 17:12
@yurydelendik
Copy link
Author

There is also the autotools build. Any plans to
add wasm target also there?

I have near 0 experience with autotools. I had no plans to touch that portion. Let me know what needs to be done there.

The example files were removed from this repo and placed at https://github.com/yurydelendik/sassc/tree/wasi/wasm

@yurydelendik yurydelendik marked this pull request as ready for review June 14, 2019 13:27
@xzyfer
Copy link
Contributor

xzyfer commented Jun 17, 2019

I suggest rebasing on master because a large changeset was just merged

It is the changes I made to make compilation work for clang with "wasm32-wasi" target and the wasi-sdk.
@xzyfer
Copy link
Contributor

xzyfer commented Jun 20, 2019 via email

@yurydelendik
Copy link
Author

Is there anything needs to be done for acceptance of this PR?

@mgreter mgreter added the Build label Jan 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants