Skip to content

Commit 6bbaf6e

Browse files
tromeycuviper
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 b6808fc commit 6bbaf6e

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
@@ -73,5 +73,9 @@ const char *lldb_private::GetVersion() {
7373
g_version_str += llvm_rev;
7474
}
7575
}
76+
77+
// We don't have a version number (yet?).
78+
g_version_str += "\n rust-enabled";
79+
7680
return g_version_str.c_str();
7781
}

0 commit comments

Comments
 (0)