I have a compiler which is tested on my local 64-bit machine, but it imports some types from some zig code that is separately compiled to wasm32 as part of the compiler runtime.
Is there a way to get the layout of a type for a specific target, not the target you are compiling to?
Or would it be best for me to:
- write my own source-of-truth logic for runtime types for my compiler's supported targets
- do some build.zig thing where I generate importable data exposing for each runtime target platform runtime type sizes