Skip to content

Commit

Permalink
test refc in CI in Nim 2.0 and later (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
tersec authored Feb 14, 2024
1 parent 583b89c commit 20fb49f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion json_rpc.nimble
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# json-rpc
# Copyright (c) 2019-2023 Status Research & Development GmbH
# Copyright (c) 2019-2024 Status Research & Development GmbH
# Licensed under either of
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE))
# * MIT license ([LICENSE-MIT](LICENSE-MIT))
Expand Down Expand Up @@ -44,6 +44,8 @@ proc build(args, path: string) =

proc run(args, path: string) =
build args & " -r", path
if (NimMajor, NimMinor) > (1, 6):
build args & " --mm:refc -r", path

proc buildBinary(name: string, srcDir = "./", params = "", cmdParams = "") =
if not dirExists "build":
Expand Down

0 comments on commit 20fb49f

Please sign in to comment.