smc: make SmcRegisters explicitly !Send and !Sync The handle owns one hardware controller exclusively. Replace the misleading `PhantomData<UnsafeCell<()>>` marker (commented "allow Send") with `PhantomData<*const ()>` so the type is both !Send and !Sync, preventing the handle from being moved across threads or into an ISR where it could alias the controller it owns. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The OpenPRoT Technical Charter can be found at https://github.com/OpenPRoT/.github/blob/main/GOVERNANCE.md
NOTE: We are converting our build system to bazel. We recommend installing bazelisk to automatically manage bazel versions.
You can run tasks using the Pigweed workflow launcher pw or bazel.
./pw presubmit - Run presubmit checks: formatting, license checks, C/C++ header checks and clippy../pw format - Run the code formatters.bazel test //... - Run all tests.bazel build //docs - Build documentation.The project is structured as a bazel module.
No additional tools are required - all dependencies are managed by bazel.