mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-11 03:47:21 +00:00
Showed the Rust compiler actually used on the information page (#1160)
This commit is contained in:
1 parent
54c3f0b3e0
commit
677b650a79
9 files changed
+144
-17
No files matched your search
@@ -87,7 +87,9 @@ public partial class Information : MSGComponentBase
|
||||
}
|
||||
};
|
||||
|
||||
private string VersionRust => $"{T("Used Rust compiler")}: v{META_DATA.RustVersion}";
|
||||
private string VersionRust => string.IsNullOrWhiteSpace(this.RuntimeInfo.RustVersion)
|
||||
? $"{T("Used Rust compiler")}: {T("unknown")}"
|
||||
: $"{T("Used Rust compiler")}: v{this.RuntimeInfo.RustVersion}";
|
||||
|
||||
private string VersionDotnetRuntime => $"{T("Used .NET runtime")}: v{DotnetRuntimeVersion.Current}";
|
||||
|
||||
|
||||
Reference in new issue
Block a user