ESP8266 Arduino Latest Toolchain

Apparently there was a bug in the toolchain of the latest Arduino release, how can I use the latest xtensa toolchain used by Arduino (this was fixed around Nov '21).

Apparently there was a bug in the toolchain of the latest Arduino release

Reference please?

Ask Issues · platformio/platform-espressif8266 · GitHub to upload that toolchain to the registry and have platform-espressif8266 use it.