src: refactor node options parsers to mitigate MSVC bug by refack · Pull Request #26280 · nodejs/node (original) (raw)
If the issue is still a static initialization order thing, It's not obvious to me how some of the changes here (e.g. to node_worker.cc
, .begin()
→ std::begin()
, header include order) relate to the issue at hand.
Other than that, the code changes here look good to me. It's unfortunate that the code has to be bloated up a bit, but it's clear that fixing a broken build is more important.
Do we know what change caused this? Should that have gotten a red CI? (Or is it still only debug builds?)
I also can't reproduce this locally on Windows on master
, neither with Debug nor Release builds, but I can also only build for ia32 from x64, so maybe that's it?