Type the toolchain factories, guard the legacy libretiny stub, tighten the gate comments

This commit is contained in:
J. Nick Koston
2026-08-20 16:46:48 -05:00
parent aea97d1022
commit a50c4db187
4 changed files with 21 additions and 10 deletions
@@ -3189,6 +3189,8 @@ def test_require_platformio_toolchain() -> None:
("host", {}),
("rp2", {"board": "rpipicow"}),
("bk72xx", {"board": "generic-bk7231n-qfn32-tuya"}),
# The legacy stub platform must reject too, not just the chip families
("libretiny", {}),
],
)
def test_every_platformio_only_platform_rejects_arduino_toolchain(