subprojects: enable proper cross-compile on MinGW of certain crates

The virtgpu_kumquat deps -- used by gfxstream -- don't work
with cross-compile.  This is because they set "native: true" even
for host machine deps.

In addition, some proc-macro deps (which need "native: true") try
to link against host machine deps.

Reviewed-by: David Gilhooley <djgilhooley.gmail.com>
This commit is contained in:
Gurchetan Singh
2025-09-26 11:19:46 -07:00
parent b7a5c4a951
commit d60c19fd10
11 changed files with 6 additions and 14 deletions
@@ -21,5 +21,5 @@ lib = rust.proc_macro(
)
dep_thiserror_impl = declare_dependency(
link_with : [lib, syn, quote, proc_macro2]
link_with : [lib]
)