You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Think about how libs-windows works. They are not libraries to be included when your host OS is windows, but when your target is.
This is an okay behavior when you're cross compiling, but it also generates a problem:
postBuildCommands, preGenerateCommands and other from commands family, since you're cross compiling, they should use the HOST as filter instead of target. This is important since when you're running on Windows, you won't magically get access to posix like commands.
How to reproduce?
Expected Behavior
commands family configuration should use host as platform filter instead of arch.
Logs
The text was updated successfully, but these errors were encountered:
System information
Bug Description
This is related to how
dub --arch
works.Think about how
libs-windows
works. They are not libraries to be included when your host OS is windows, but when your target is.This is an okay behavior when you're cross compiling, but it also generates a problem:
postBuildCommands, preGenerateCommands and other from commands family, since you're cross compiling, they should use the HOST as filter instead of target. This is important since when you're running on Windows, you won't magically get access to posix like commands.
How to reproduce?
Expected Behavior
commands family configuration should use host as platform filter instead of arch.
Logs
The text was updated successfully, but these errors were encountered: