summary refs log tree commit diff stats
path: root/compiler/vmops.nim
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2021-06-13 23:51:40 -0700
committerGitHub <noreply@github.com>2021-06-14 08:51:40 +0200
commite1e8af535ec195e5749dffa728add95770e5cbd7 (patch)
tree5ef4e35035e9b5647a47f252ebf78082dc71e5db /compiler/vmops.nim
parent065243dc5988fbfcbed8236e19a588b98d63b199 (diff)
downloadNim-e1e8af535ec195e5749dffa728add95770e5cbd7.tar.gz
merge BuildMode into SuccessX, remove code duplication w drnim, add useful info to successx, add gc to compilesettings (#18252)
* merge BuildMode into SuccessX, add more info

* refactor duplicated with drnim

* fixup

* address comment
Diffstat (limited to 'compiler/vmops.nim')
-rw-r--r--compiler/vmops.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/vmops.nim b/compiler/vmops.nim
index 04356fc76..85729fd59 100644
--- a/compiler/vmops.nim
+++ b/compiler/vmops.nim
@@ -136,6 +136,7 @@ when defined(nimHasInvariant):
     of ccompilerPath: result = conf.cCompilerPath
     of backend: result = $conf.backend
     of libPath: result = conf.libpath.string
+    of gc: result = $conf.selectedGC
 
   proc querySettingSeqImpl(conf: ConfigRef, switch: BiggestInt): seq[string] =
     template copySeq(field: untyped): untyped =