| ... | @@ -141,15 +141,15 @@ static int print_libc_usage(const char *arg0, FILE *file, int return_code) { | ... | @@ -141,15 +141,15 @@ static int print_libc_usage(const char *arg0, FILE *file, int return_code) { |
| 141 | "You can save this into a file and then edit the paths to create a cross\n" | 141 | "You can save this into a file and then edit the paths to create a cross\n" |
| 142 | "compilation libc kit. Then you can pass `--libc [file]` for Zig to use it.\n" | 142 | "compilation libc kit. Then you can pass `--libc [file]` for Zig to use it.\n" |
| 143 | "\n" | 143 | "\n" |
| 144 | "When compiling natively and no `--libc` argument provided, Zig automatically\n" | 144 | "When compiling natively and no `--libc` argument provided, Zig will create\n" |
| 145 | "creates zig-cache/native_libc.txt so that it does not have to detect libc\n" | 145 | "`%s/native_libc.txt`\n" |
| 146 | "on every invocation. You can remove this file to have Zig re-detect the\n" | 146 | "so that it does not have to detect libc on every invocation. You can remove\n" |
| 147 | "native libc.\n" | 147 | "this file to have Zig re-detect the native libc.\n" |
| 148 | "\n\n" | 148 | "\n\n" |
| 149 | "Usage: %s libc [file]\n" | 149 | "Usage: %s libc [file]\n" |
| 150 | "\n" | 150 | "\n" |
| 151 | "Parse a libc installation text file and validate it.\n" | 151 | "Parse a libc installation text file and validate it.\n" |
| 152 | , arg0, arg0); | 152 | , arg0, buf_ptr(get_global_cache_dir()), arg0); |
| 153 | return return_code; | 153 | return return_code; |
| 154 | } | 154 | } |
| 155 | | 155 | |