In the new package manager, how can I communicate the cross-target (e.g. zig build -Dtarget=wasm32-freestanding to a dependency?
When I call zig build with a cross-compilation target like this, calling b.standardTargetOptions(.{}) in the build() function of the dependency returns a target where cpu_arch and os_tag are both null, instead of .wasm32 and .freestanding.
(which then causes the dependency to build a native library, instead of a wasm32 library)