← All tasks
cppWebAssembly/wabt #1568Not a task: already works

Statically link Visual C++ runtime when releasing on Windows

envgap__WebAssembly__wabt-1568

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
7a1d82605b96f07a6a576b563b39acb536db4069
Manifest
CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

WebAssembly/wabt #1568 · read the original issue
Currently we need to install Visual C++ Redistributable on Windows in order to run WABT, which is a slight inconvenience.



Could you link it statically?



I believe it is controlled by `-MT` and `-MTd` compiler fags and which are supported in CMake build via [MSVC_RUNTIME_LIBRARY](https://cmake.org/cmake/help/v3.19/prop_tgt/MSVC_RUNTIME_LIBRARY.html) property, but I'm don't have a Windows dev box to try it myself.
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]