Closed kkoomen closed 6 months ago
This PR adds support for stdin for C which uses WebAssembly.Memory and thus requires two headers to be set:
WebAssembly.Memory
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.
@kkoomen Mag de stdin branch ook weg?
@stgm absoluut niet. Die bevat nog code voor de pyodide die ik nog in de vakantie ga meenemen.
De branch gaat weg wanneer ik er klaar mee ben. Komt goed.
This PR adds support for stdin for C which uses
WebAssembly.Memory
and thus requires two headers to be set: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.