When compiling to Javascript, I get the following errors
    
    
    ~/.choosenim/toolchains/nim-1.2.0/lib/pure/endians.nim(59, 15) 
template/generic instantiation of `swapOpImpl` from here
    ~/.choosenim/toolchains/nim-1.2.0/lib/pure/endians.nim(54, 5) Error: 
undeclared identifier: 'copyMem'
    
    Run

The code compiles fine when compiling natively. I understand that I have 
tripped over someting that may not be implemented for a Javascript target 
(related to copyMem?), but unfortunately I have a large codebase and don't know 
where to start looking for the problem.

Any suggestions gratefully received.

Duncan

Reply via email to