Skip to content

Commit 6081aa7

Browse files
tromeyvadimcn
authored andcommitted
Add "rust-enabled" to --version output
This adds "rust-enabled" to the --version output, so it's easier to tell if lldb has rust support.
1 parent ba0f127 commit 6081aa7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lldb/source/Version/Version.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ const char *lldb_private::GetVersion() {
6767
g_version_str += "\n llvm revision ";
6868
g_version_str += llvm_rev;
6969
}
70+
71+
g_version_str += "\n rust-enabled";
7072
}
7173

7274
return g_version_str.c_str();

0 commit comments

Comments
 (0)