Revert "no work"

This reverts commit fe5fc02d918095350009eba1b86323ab5b46ea97.

Revert "test mingw"

This reverts commit 671282ae413d285d57af6d9d89f194c67c8d007d.

Revert "test mingw"

This reverts commit 2d463f38e5811a92a5fe1dd1b67ab5526670c971.
regtest attempt