Skip to content

Fix the wasm build#792

Merged
jennybc merged 1 commit into
tidyverse:mainfrom
jeroen:fix-wasm
May 15, 2026
Merged

Fix the wasm build#792
jennybc merged 1 commit into
tidyverse:mainfrom
jeroen:fix-wasm

Conversation

@jeroen

@jeroen jeroen commented May 15, 2026

Copy link
Copy Markdown
Contributor

xlstypes.h includes sys/types.h from inside namespace xls { extern "C" {.
Once the include guard fires there, gid_t and uid_t are trapped in the xls::
namespace. Subsequent headers (e.g. unistd.h via RProgress.h) that rely on
those types being in the global namespace then fail to compile.

Same pattern and fix as the stdint.h hoist in issue #775.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@jennybc

jennybc commented May 15, 2026

Copy link
Copy Markdown
Member

Thanks!

Closes #791 which was starting to go in the usual circles again 🤪

@jennybc jennybc merged commit 92bf693 into tidyverse:main May 15, 2026
13 checks passed
@jeroen

jeroen commented May 16, 2026

Copy link
Copy Markdown
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants