This commit is contained in:
gingerBill
2026-06-22 15:41:52 +01:00

View File

@@ -3842,6 +3842,10 @@ int main(int arg_count, char const **arg_ptr) {
usage(args[0]);
return 1;
}
// NOTE(Jeroen): `odin root` omits a newline on purpose so that it can be used in scripts.
// e.g. `ODIN_CORE="$(odin root)core"`.
// Human convenience is not a consideration.
// Further pull requests to add a newline will be closed without comment.
gb_printf("%.*s", LIT(odin_root_dir()));
return 0;
} else if (command == "clear-cache") {