aboutsummaryrefslogtreecommitdiff
path: root/config.nims
blob: 54a9a06313003249e40370527e8ff0ea5f7a6cf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# Workaround for C++ scanner.cc causing link error with other C obj files
when defined(MacOSX):
  switch("clang.linkerexe", "g++")
else:
  switch("gcc.linkerexe", "g++")

# Workaround for NilAccessError crash on Windows #98
when defined(Windows):
  switch("gc", "markAndSweep")

# Retain stackTrace for clear errors
switch("stackTrace", "on")