From: stephan Date: Wed, 18 May 2022 22:58:34 +0000 (+0000) Subject: In wasm builds, ifdef out shell commands which require file I/O, pipes, or which... X-Git-Tag: version-3.39.0~132^2~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=02520cc8f68c12a36d72d06f56f1359a819e798c;p=thirdparty%2Fsqlite.git In wasm builds, ifdef out shell commands which require file I/O, pipes, or which trigger an exit() (.quit and .exit). Documented some of the quirks and limitations of the C/WASM crossover. Keep the JS code from calling into the C code after an exit() has been triggered. FossilOrigin-Name: bee436e62a956e49b0df4a92abff2c89f2b44e21d8f593716df0331f8fc49814 --- diff --git a/ext/fiddle/fiddle.in.html b/ext/fiddle/fiddle.in.html index 4568c4b2cf..9e761d6ffa 100644 --- a/ext/fiddle/fiddle.in.html +++ b/ext/fiddle/fiddle.in.html @@ -53,13 +53,22 @@ .button-bar button { margin: 0.25em 1em; } - label { + label[for] { cursor: pointer; } + fieldset { + border-radius: 0.5em; + } .error { color: red; background-color: yellow; } + .hidden { + position: absolute !important; + opacity: 0 !important; + pointer-events: none !important; + display: none !important; + } @@ -97,6 +106,34 @@ select * from t; +
+
+ Notes and Caveats + ( + ) +
+
+

+ This JavaScript application runs a C application which has been + compiled into WASM (Web Assembly). As such, it has certain + limitations. Those include, but are not limited to: +

+ +