commit | 2ebc8cb4594e22f9fb0a758e8276e0e02fe7eb67 | [log] [tgz] |
---|---|---|
author | Ted Pudlik <tpudlik@google.com> | Wed Jan 26 01:53:06 2022 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jan 26 23:41:34 2022 +0000 |
tree | 9009a21c90136bb0404a9f3ac64afdbc89c8e2f5 | |
parent | 17e45c8e66d697f31dc406f66215029a5beb5acb [diff] |
pw_rpc: Refactor import statement On its own I prefer the old version, but the new one is easier to correctly transform when importing Pigweed code. In particular, if a prefix is added to imports converting import pw_rpc.ids to import pigweed.pw_rpc.ids the symbols are no longer available under their old names, producing a runtime error. The new form of the import statement avoids this problem. Bug: b/210876793 Change-Id: I5dda3ca02a9b3eb6d396bf32653aa73eac2443b4 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/81580 Reviewed-by: Anthony DiGirolamo <tonymd@google.com> Commit-Queue: Ted Pudlik <tpudlik@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/