show an early warning for /DEBUG:FASTLINK

This commit is contained in:
Nikita Smith
2024-11-09 14:56:41 -08:00
parent 420c2ec208
commit 3a190ae2c3
2 changed files with 803 additions and 802 deletions
+800 -802
View File
File diff suppressed because it is too large Load Diff
+3
View File
@@ -1026,6 +1026,9 @@ lnk_config_from_cmd_line(Arena *arena, String8List raw_cmd_line)
if (debug_mode == LNK_DebugMode_GHash) {
config->debug_mode = LNK_DebugMode_Full;
lnk_error_cmd_switch(LNK_Warning_Cmdl, cmd_switch, "GHASH is not supported, switching to FULL");
} else if (debug_mode == LNK_DebugMode_FastLink) {
config->debug_mode = LNK_DebugMode_Full;
lnk_error_cmd_switch(LNK_Warning_Cmdl, cmd_switch, "FASTLINK is not supported, switching to FULL");
} else if (debug_mode != LNK_DebugMode_Null) {
config->debug_mode = debug_mode;
} else {