Is there a way to mark a dub package as linux only?

rikki cattermole rikki at
Tue Sep 27 18:28:32 UTC 2022

On 28/09/2022 7:18 AM, Alain De Vos wrote:
> Don't forget there is also BSD

Should already be supported.

Platform specific settings are supported through the use of field name 
suffixes. Suffixes are dash separated list of operating 
system/architecture/compiler identifiers, as defined in the D language 
reference, but converted to lower case. The order of these suffixes is 
os-architecture-compiler, where any of these parts can be left off. 
Additionally on Windows the architectures x86_omf and x86_mscoff can be 
used with dmd to differentiate between 32 bit object formats used with 
the --arch switch. Examples:

More information about the Digitalmars-d-learn mailing list