aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2020-03-08 14:04:48 +0200
committerGitHub <noreply@github.com>2020-03-08 14:04:48 +0200
commit7234316dc7784667443d358b0d2c3e2ff561b474 (patch)
treefbf0413aaa221acd2a8437b75cf5dd349471563c /docs/markdown/snippets
parenta16db4e9185fcf060ea3e336cbffbe16018be934 (diff)
parent654f427759d5aa3be55d8929b18c17a2b8fcac69 (diff)
downloadmeson-7234316dc7784667443d358b0d2c3e2ff561b474.zip
meson-7234316dc7784667443d358b0d2c3e2ff561b474.tar.gz
meson-7234316dc7784667443d358b0d2c3e2ff561b474.tar.bz2
Merge pull request #6688 from dcbaker/emcc-linker-bugs
Emcc linker bugs and improvments
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r--docs/markdown/snippets/emscripten_threads.md6
-rw-r--r--docs/markdown/snippets/wasm_ld.md5
2 files changed, 11 insertions, 0 deletions
diff --git a/docs/markdown/snippets/emscripten_threads.md b/docs/markdown/snippets/emscripten_threads.md
new file mode 100644
index 0000000..bdf808e
--- /dev/null
+++ b/docs/markdown/snippets/emscripten_threads.md
@@ -0,0 +1,6 @@
+## Emscripten (emcc) now supports threads
+
+In addition to properly setting the compile and linker arguments, a new meson
+builtin has been added to control the PTHREAD_POOL_SIZE option,
+`-D<lang>_thread_count`, which may be set to any integer value greater than 0.
+If it set to 0 then the PTHREAD_POOL_SIZE option will not be passed.
diff --git a/docs/markdown/snippets/wasm_ld.md b/docs/markdown/snippets/wasm_ld.md
new file mode 100644
index 0000000..d47767c
--- /dev/null
+++ b/docs/markdown/snippets/wasm_ld.md
@@ -0,0 +1,5 @@
+## Property support emscripten's wasm-ld
+
+Before 0.54.0 we treated emscripten as both compiler and linker, which isn't
+really true. It does have a linker, called wasm-ld (meson's name is ld.wasm).
+This is a special version of clang's lld. This will now be detected properly.