Is there a way to detect the compiler version from within a Rust program?

Viewed 3919

In C++, you could use something like __clang_version__. Is there something similar for Rust? I searched on the internet, but found nothing.

1 Answers
Related