I will need to learn about writing safety-critical C/C++ code at my current job. Many resources[1-2] tell you what not to do, but few tell you what to do[3].
What are some excellent examples of open source code bases from which to learn?
1: https://www.misra.org.uk/
2: https://yurichev.com/mirrors/C/JPL_Coding_Standard_C.pdf
3: https://nasa.github.io/fprime/UsersGuide/dev/code-style.html
Second, give up on C. It simply has not got the resources to help you with safety. It is a wholly lost cause.
In C++, you can package semantics in libraries in ways hard to misuse accidentally. In effect, your library provides the safety that Rust reserves to its compiler. C++ offers more power to the library writer than Rust offers. Use it!