diff options
-rw-r--r-- | libbutl/target-triplet.mxx | 1 | ||||
-rw-r--r-- | tests/target-triplet/driver.cxx | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/libbutl/target-triplet.mxx b/libbutl/target-triplet.mxx index 41c0cb5..414da6a 100644 --- a/libbutl/target-triplet.mxx +++ b/libbutl/target-triplet.mxx @@ -96,6 +96,7 @@ LIBBUTL_MODEXPORT namespace butl // x86_64-microsoft-win32-msvc14.0 x86_64 microsoft win32-msvc 14.0 // x86_64-pc-windows-msvc x86_64 windows-msvc // x86_64-pc-windows-msvc19.11.25547 x86_64 windows-msvc 19.11.25547 + // wasm32-unknown-emscripten wasm32 emscripten // // Similar to version splitting, for certain commonly-used targets we also // derive the "target class" which can be used as a shorthand, more diff --git a/tests/target-triplet/driver.cxx b/tests/target-triplet/driver.cxx index cc375e0..ec232e6 100644 --- a/tests/target-triplet/driver.cxx +++ b/tests/target-triplet/driver.cxx @@ -109,6 +109,10 @@ main () "aarch64-nto-qnx7.0.0", "aarch64", "", "nto-qnx", "7.0.0", "other")); + assert (test ("wasm32-emscripten", + "wasm32-emscripten", + "wasm32", "", "emscripten", "", "other")); + // Version extraction. // assert (test ("x86_64-apple-darwin14.5.0", |