meta: add metadata to win32 exe/dll files

This commit is contained in:
2024-12-07 19:32:35 +00:00
parent 77885036c1
commit b87d152f07
12 changed files with 112 additions and 9 deletions

View File

@@ -29,6 +29,18 @@ static void skip_line(struct ivy_lexer *lex)
int repl(const b_command *cmd, const b_arglist *args, const b_array *_)
{
b_printf("[bold,bright_red]error[[E0384][reset,bold,white]: cannot assign twice to immutable variable `i`[reset]\n");
b_printf("[bold,bright_blue] -->[reset] src/main.rs:7:3\n");
b_printf("[bold,bright_blue] |[reset]\n");
b_printf("[bold,bright_blue]4 |[reset] let i = 0;\n");
b_printf("[bold,bright_blue] | -[reset]\n");
b_printf("[bold,bright_blue] | |[reset]\n");
b_printf("[bold,bright_blue] | first assignment to `i`[reset]\n");
b_printf("[bold,bright_blue] | help: make this binding mutable: `mut i`[reset]\n");
b_printf("[bold,bright_blue]...[reset]\n");
b_printf("[bold,bright_blue]7 |[reset] i += 1;\n");
b_printf("[bold,bright_blue] |[bold,bright_red] ^^^^^^ cannot assign twice to immutable variable[reset]\n");
bool show_lex
= b_arglist_get_count(args, OPT_SHOW_LEX_TOKENS, B_COMMAND_INVALID_ID) > 0;
bool show_ast