Proposed strategy to support WASM in D

Johan j at j.nl
Fri Nov 18 07:06:08 UTC 2022


On Friday, 18 November 2022 at 00:55:57 UTC, AnimusPEXUS wrote:
> 
> 1. LDC have to support unsigned integers in wasm function 
> parameters, as currently wasm generated by ldc puts i32 type on 
> all parameters.

Can you give an example of what goes wrong? `i32` is LDC/LLVM's 
type of signed _and_ unsigned integers, there is no distinction 
on LLVM IR level.

-Johan




More information about the Digitalmars-d mailing list