A reimplementation of UTyping in Zig, using wgpu-native for rendering
Active platform support
Compiles, ran at one point
Compiles, untested
Does not compile
Install the latest Zig 0.12.x
from https://ziglang.org/
(or your favourite package manager)
Latest tested working version is 0.12.0-dev.1396+f6de3ec96
, any newer or older versions may or may not work
TODO
TODO
TODO
$ zig build
$ zig build -Doptimize=ReleaseFast
-Doptimize=X
Sets the optimization settings for the compilation, possible options are:
-Dwgpu_from_source=true/false
Whether to build wgpu-native from source or not, using the wgpu-native
submodule, see here for info about setting up
-Dtarget=X
Sets the target machine of the compilation, possible options are listed here in parentheses, below is a matrix of supported cross compilation targets, host on the top, target on the left
Linux x86_64 glibc | Linux x86_64 musl | MacOS x86_64 | MacOS arm64 | Windows x86_64 | Windows arm64 | |
---|---|---|---|---|---|---|
Linux x86_64 glibc | βοΈ | π¨ | β | β | βοΈ | βοΈ |
Linux x86_64 musl | β | β | β | β | βοΈ | βοΈ |
MacOS x86_64 | βοΈ | π¨ | βοΈ | π¨ | βοΈ | βοΈ |
MacOS arm64 | βοΈ | π¨ | βοΈ | π¨ | βοΈ | βοΈ |
Windows x86_64 | βοΈ | π¨ | βοΈ | π¨ | βοΈ | βοΈ |
Windows arm64 | β | β | β | β | β | β |
Windows x86 | β | β | β | β | β | β |
βοΈ = Tested working
π§ = In progress
β = Broken
β = Untested, but likely broken
π¨ = Untested, but likely functional
Allows debug builds and rapid modifications of wgpu-native, without packaging a library yourself
Uses cross
to setup a container for cross compilation of rust code, follow their setup instructions beforehand
Linux x86_64 glibc | Linux x86_64 musl | MacOS x86_64 | MacOS arm64 | Windows x86_64 | |
---|---|---|---|---|---|
Linux x86_64 glibc | βοΈ | π¨ | π¨ | π¨ | π¨ |
Linux x86_64 musl | β | β | β | β | β |
MacOS x86_64 | β | β | π¨ | π¨ | β |
MacOS arm64 | β | β | π¨ | π¨ | β |
Windows x86_64 | βοΈ | π¨ | π¨ | π¨ | π¨ |
Windows x86 | β | β | β | β | β |