uvapl / terra

2 stars 0 forks source link

✨ stdin ✨ #18

Closed kkoomen closed 6 months ago

kkoomen commented 6 months ago

This PR adds support for stdin for C which uses WebAssembly.Memory and thus requires two headers to be set:

Cross-Origin-Opener-Policy: same-origin
Cross-Origin-Embedder-Policy: require-corp

Whenever these two headers are absent, the website stil works normally. However, using stdin will result into errors. It's up to the server to serve the corresponding HTML file with these server response headers.

stgm commented 6 months ago

@kkoomen Mag de stdin branch ook weg?

kkoomen commented 6 months ago

@stgm absoluut niet. Die bevat nog code voor de pyodide die ik nog in de vakantie ga meenemen.

kkoomen commented 6 months ago

De branch gaat weg wanneer ik er klaar mee ben. Komt goed.