Correct me if I'm wrong, but the whole idea of the Null host is that it should only exist if there are no other hosts for that compilation, so that each enum/type etc has atleast 1 member, the NullHost, however, the Null host can currently compile in, even if the Custom host is used, on a compilation target which cpal doesnt have a backend for, this seems counter-intuitive to me, and infact, in my mind, compiling for a target without any of cpals backends and then using a custom host to implement it themselves, seem to go hand in hand, this also could be quite an easy fix (I believe). Also, this means that it will always set the default host to Null, instead of Custom
This seems like a logical error to me, and a quick PR I can whip up.
Correct me if I'm wrong, but the whole idea of the Null host is that it should only exist if there are no other hosts for that compilation, so that each enum/type etc has atleast 1 member, the
NullHost, however, theNullhost can currently compile in, even if the Custom host is used, on a compilation target which cpal doesnt have a backend for, this seems counter-intuitive to me, and infact, in my mind, compiling for a target without any of cpals backends and then using a custom host to implement it themselves, seem to go hand in hand, this also could be quite an easy fix (I believe). Also, this means that it will always set the default host toNull, instead ofCustomThis seems like a logical error to me, and a quick PR I can whip up.