Hoooray! It’s decision day!
I think the least invasive thing that solves this problem is adding using stan::pow to the generated code (this pull: https://github.com/stan-dev/stan/pull/2906).
But that only handles the stanc2 compiler, I’ll also need help figuring out how to do that in the stanc3 compiler.
That also means removing the mingw thing from Math as well.
We need to talk through the interaction between the std and stan::math namespaces and how we use this all in code gen whichever thing we do, and this covers us for Stan’s generated code without really doing anything to the math library so that seems nice.
If I hear nothing back by 6PM EST today, we’ll just roll with this.