Add functions what return version info and configure info into Globals class

Signed-off-by: Seonghyun Kim <sh8281.kim@samsung.com>
This commit is contained in:
Seonghyun Kim 2021-07-16 18:05:41 +09:00 committed by Boram Bae
commit 5c3f60aa47
4 changed files with 44 additions and 2 deletions

View file

@ -733,6 +733,10 @@ int main(int argc, char* argv[])
}
}
if (runShell && !context->isDebuggerRunning()) {
printf("escargot version:%s, %s%s\n", Globals::version(), Globals::buildDate(), Globals::supportsThreading() ? "(supports threading)" : "");
}
while (runShell) {
static char buf[2048];
printf("escargot> ");