boostorg / boostorg/predef

Boost.Predef should provide a way to detect WASM

Open
#131 7 comments 1 reaction 0 assignees View on GitHub
Dominant language
C
Stars
56
Forks
87
PR merge metrics
No merged PRs in 30d

Description

Relevant macros gathered from `echo | em++ -dM -E -x c++ -`:
```c++
#define EMSCRIPTEN 1
#define __EMSCRIPTEN__ 1
#define __wasm 1
#define __wasm32 1
#define __wasm32__ 1
#define __wasm__ 1
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.