dub.compilers.utils: Fix platform probe code when nothing is detected
If determinePlatform / determineArchitecture return an empty array (due to Dub not knowing about the target platform), the probe file crashed during compilation due to attempting to index an array at position 0. Fix this by using a less unnecessarily-generic function to concatenate elements of a JSON array. |
---|
|
source/dub/compilers/utils.d |
---|