Skip to content

Commit 0a3c648

Browse files
tromeynikic
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 b2d1799 commit 0a3c648

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lldb/source/lldb.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,9 @@ const char *lldb_private::GetVersion() {
6868
g_version_str += llvm_rev;
6969
}
7070
}
71+
72+
// We don't have a version number (yet?).
73+
g_version_str += "\n rust-enabled";
74+
7175
return g_version_str.c_str();
7276
}

0 commit comments

Comments
 (0)