aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_extui/shared.lua
diff options
context:
space:
mode:
authorRawan Muhammad <145160003+Rawan10101@users.noreply.github.com>2026-02-03 20:26:55 +0200
committerGitHub <noreply@github.com>2026-02-03 13:26:55 -0500
commit0ddba68607a91c2397a8122da610331e2335e40f (patch)
treef1d52e82f37ae2121f96c2e80fcb4f57f13b6416 /runtime/lua/vim/_extui/shared.lua
parent9278f792c374e32de4906dc23adfc9144812c285 (diff)
downloadrneovim-0ddba68607a91c2397a8122da610331e2335e40f.tar.gz
rneovim-0ddba68607a91c2397a8122da610331e2335e40f.tar.bz2
rneovim-0ddba68607a91c2397a8122da610331e2335e40f.zip
build: ensure toolchain is passed to bundled deps #37587
Problem: When building Neovim with Emscripten for WebAssembly, the `CMAKE_TOOLCHAIN_FILE` is not propagated to dependency builds. So libuv attempts to include Linux-specific headers like `sys/epoll.h` which don't exist in the WebAssembly environment. From #37572: …/NeovimWeb/external/neovim/.deps/build/src/libuv/src/unix/linux.c:44:10: fatal error: 'sys/epoll.h' file not found 44 | #include <sys/epoll.h> | ^~~~~~~~~~~~~ Solution: 1. Add initialization for DEPS_CMAKE_ARGS to prevent CMake errors. 2. Implement conditional logic to always pass CMAKE_TOOLCHAIN_FILE to dependencies. This allows dependencies like libuv to detect they're building for WebAssembly and disable incompatible Linux specific features such as epoll which resolves the sys/epoll.h error.
Diffstat (limited to 'runtime/lua/vim/_extui/shared.lua')
0 files changed, 0 insertions, 0 deletions