commit | b6fd39ebe9191bd6c79ecf3fb4fe98193469a2d4 | [log] [tgz] |
---|---|---|
author | Jiacheng Lu <lujc@google.com> | Tue Dec 12 16:53:31 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Dec 12 16:53:31 2023 +0000 |
tree | 59707b81dbe3d0b1b8d9df68193a1e3f782fc90c | |
parent | b7393c0bb202d59455e5fc3d4428ea9b9c8d0a51 [diff] |
pw_ide: Fix condition for Windows platform The current CIPD exe lookup uses a incorrect condition to check if the underlying platform is Windows or not. The condition checks for "win" substr, which accidentally included "darwin" as in macOS. This change replaces the "win" substr check with strict matching of ("win32", "cygwin"). Reference: https://docs.python.org/3/library/sys.html#sys.platform. Change-Id: Ia8a0cba20200e50718522a4763cf8c03ea6e9b06 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/184730 Reviewed-by: Chad Norvell <chadnorvell@google.com> Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Commit-Queue: Chad Norvell <chadnorvell@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.