Skip to content

Commit 867fade

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 c3bb42d commit 867fade

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
@@ -62,6 +62,10 @@ const char *lldb_private::GetVersion() {
6262
g_version_str += "\n llvm revision ";
6363
g_version_str += llvm_rev;
6464
}
65+
66+
// We don't have a version number (yet?).
67+
g_version_str += "\n rust-enabled";
6568
}
69+
6670
return g_version_str.c_str();
6771
}

0 commit comments

Comments
 (0)