October 09, 2017
https://issues.dlang.org/show_bug.cgi?id=17887

          Issue ID: 17887
           Summary: Add WebAssembly predefined version
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody@puremagic.com
          Reporter: petar.p.kirov@gmail.com

The first step to WebAssembly support is adding a predefined version, so libraries can adapt (for example the D bindings for SDL2). It is yet to be determined if more parts of the language can be used in addition to the betterC subset, so this may or may not be used in druntime for implementing full run-time support.

--