The is() function gets defined twice, because you have one cfg statement that tests for OS (unix) and one that tests for architecture (wasm32). Emscripten pretends to be unix, so is() gets defined twice.
Proposed fix: turn the wasm32 architecture into an OS test for unknown.
The
is()
function gets defined twice, because you have onecfg
statement that tests for OS (unix) and one that tests for architecture (wasm32). Emscripten pretends to be unix, sois()
gets defined twice.Proposed fix: turn the
wasm32
architecture into an OS test forunknown
.