Skip to content

Commit

Permalink
renable perf and holy enum errors on 1.6.12
Browse files Browse the repository at this point in the history
  • Loading branch information
noahehall committed Apr 24, 2023
1 parent f4778e1 commit aa5c108
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
8 changes: 3 additions & 5 deletions config.nims
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,14 @@ case existsEnv "CI":
when (NimMajor, NimMinor, NimPatch) <= (1,6,12):
# throws in v2, maybe its no longer experimental?
--experimental:implicitDeref
# fails in ci, no clue but my stupid guess is
# we need to delete test cache files before running tests after changing config switches
switch("warningAsError", "HoleEnumConv:off")
switch("hintAsError", "Performance:off")
# throws on nim source code
# @see https://github.com/nim-lang/Nim/issues/21713
switch("hintAsError", "DuplicateModuleImport:off")
switch("hintAsError", "Performance:off")
switch("hintAsError", "XDeclaredButNotUsed:off")
switch("warningAsError", "Deprecated:off")
switch("warningAsError", "UnusedImport:off")
switch("warningAsError", "HoleEnumConv:off") # only in ci?
switch("warningAsError", "UnusedImport:off") # only in ci?
else:
--define:futureLogging
switch("warningAsError", "CastSizes:on")
4 changes: 2 additions & 2 deletions testresults.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit aa5c108

Please sign in to comment.