blob: 0d96aa3569e0790aa5110ed4f6ab73de0eaf0389 [file] [log] [blame]
#include <u.h>
#include <libc.h>
char *template =
"// generated by mkversion.c; do not edit.\n"
"package runtime\n"
"const defaultGoroot = `%s`\n"
"const theVersion = \"%s\"\n";
void
main(void)
{
print(template, getgoroot(), getgoversion());
exits(0);
}