config system: special case -d:release and -d:danger [backport:1.4] (#18051)

This commit is contained in:
Andreas Rumpf 2021-05-20 11:52:46 +02:00 • committed by GitHub
commit df429fa287
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 27 additions and 7 deletions

View file

@ -50,6 +50,7 @@ path="$lib/pure"
@end
nimblepath="$home/.nimble/pkgs/"
# Syncronize with compiler/commands.specialDefine
@if danger or quick:
obj_checks:off
field_checks:off
@ -63,6 +64,7 @@ nimblepath="$home/.nimble/pkgs/"
line_dir:off
@end
# Syncronize with compiler/commands.specialDefine
@if release or danger:
stacktrace:off
excessiveStackTrace:off