This is currently the best/most robust way, especially if you want a stable pointer to the contents.
You won't get any guarantees of static initialisation other than StaticString
. You could be like me and stubbornly generate static tables as Swift anyway, but I'm not sure I'd recommend it. For me it's more about experimentation and trying to prompt compiler improvements.