C++ on bare metal microcontrollers works quite well. I've done that. You have pretty much the same restrictions as C or rust in that space, even though they look a bit different due how C++ works. But then again, you also need learn which parts of C or rust you can use in that environment.
Let me guess, you’ve done it with ARM microcontrollers.
Pretty much until ARM, support was terrible.
We’ve had basically no alternative other than C, with a lot of failed attempts at half supported C++. A lot of us suffered the horrible experience of working with severely lacking C++ compilers in the embedded space. Unless you were working with ARM or on top of linux, C++ was a bad idea.