CodeWeavers has developed a solution to run 32-bit Windows applications on macOS Catalina using a custom version of the Clang compiler and modifications to Wine. The solution relies on a new feature of macOS Catalina that allows the creation of 32-bit code segments in a 64-bit process. The custom compiler has features that support building 32-on-64-bit Wine, including support for 32-bit Microsoft calling conventions and automatic generation of 32-to-64-bit thunks. The solution is included in CodeWeavers' source tarball.