support Nim devel

This commit is contained in:
Ștefan Talpalaru 2020-09-23 12:19:32 +02:00
parent c21107e34c
commit 107878ad53
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
2 changed files with 4 additions and 1 deletions

View File

@ -6,6 +6,9 @@
# This file may not be copied, modified, or distributed except according to
# those terms.
when defined(nimStackTraceOverride) and defined(nimHasStacktracesModule):
import system/stacktraces
# Don't warn that this module is unused (e.g.: when the Nim compiler supports it
# and users need to import it, even if they don't call getBacktrace() manually).
{.used.}

View File

@ -9,7 +9,7 @@
mode = ScriptMode.Verbose
packageName = "libbacktrace"
version = "0.0.3"
version = "0.0.4"
author = "Status Research & Development GmbH"
description = "Nim wrapper for libbacktrace"
license = "MIT or Apache License 2.0"