show an early warning for /DEBUG:FASTLINK

This commit is contained in:
Nikita Smith committed 2024-11-12 10:36:44 -08:00
1 parent 420c2ec208
commit 3a190ae2c3
2 files changed
+803 -802

No files matched your search

+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 {