mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
Change compiler string like CPython format
This commit is contained in:
1 parent
c099c5708b
commit
f391eba640
1 file changed
+1
-1
+1
-1
@@ -46,7 +46,7 @@ pub fn get_version_number() -> String {
|
||||
|
||||
pub fn get_compiler() -> String {
|
||||
let rustc_version = rustc_version_runtime::version_meta();
|
||||
format!("rustc {}", rustc_version.semver)
|
||||
format!("\n[rustc {}]", rustc_version.semver)
|
||||
}
|
||||
|
||||
pub fn get_build_info() -> String {
|
||||
|
||||
Reference in new issue
Block a user