I think both are, long term (think FORTRAN where it’s not particularly popular but a lot of existing code is maintained and not rewritten).
C++ is actually in a slightly better spot ironically because it’s harder to integrate with. If you have a C program you can pretty easily start replacing parts with Rust. You can’t do the same with C++ which insulates it better in that sense.