From 90da3b27d939b3b7af1cf7fed10dfaaa7e271622 Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Thu, 30 Oct 2025 14:40:08 -0400 Subject: Fixes from testing sink change, document things Signed-off-by: Andrew Opalach --- cross/wasm-emscripten.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 cross/wasm-emscripten.txt (limited to 'cross') diff --git a/cross/wasm-emscripten.txt b/cross/wasm-emscripten.txt new file mode 100644 index 0000000..b8d8611 --- /dev/null +++ b/cross/wasm-emscripten.txt @@ -0,0 +1,20 @@ +[binaries] +c = 'emcc' +cpp = 'em++' +ar = 'emar' + +# If pkgconfig is broken refer to this. +# https://github.com/hartenfels/meson-emscripten-example/blob/380be33d396e536b872e88f95e62b93e2f16545c/cross/emscripten.cross +pkgconfig = ['emmake', 'pkg-config'] +cmake = ['emcmake', 'cmake'] + +exe_wrapper = 'node' + +[properties] +needs_exe_wrapper = true + +[host_machine] +system = 'wasm' +cpu_family = 'wasm' +cpu = 'wasm' +endian = 'little' -- cgit v1.2.3-101-g0448