zig cc: integrate with -fstack-check, -fno-stack-check

This commit is contained in:
Andrew Kelley
2022-03-04 18:10:37 -07:00
parent d486a7b811
commit d3648cc030
3 changed files with 28 additions and 2 deletions

View File

@@ -332,6 +332,14 @@ const known_options = [_]KnownOpt{
.name = "fno-caret-diagnostics",
.ident = "no_color_diagnostics",
},
.{
.name = "fstack-check",
.ident = "stack_check",
},
.{
.name = "fno-stack-check",
.ident = "no_stack_check",
},
.{
.name = "MD",
.ident = "dep_file",