Skip to content

Commit

Permalink
not compatible with Nim 1.6 anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
narimiran committed Nov 28, 2024
1 parent 7a2d4d8 commit 081b798
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ on:
jobs:
build:
uses: status-im/nimbus-common-workflow/.github/workflows/common.yml@main
with:
nim-versions: '["version-2-0", "version-2-2", "devel"]'
5 changes: 2 additions & 3 deletions json_rpc.nimble
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ license = "Apache License 2.0"
skipDirs = @["tests"]

### Dependencies
requires "nim >= 1.6.0",
requires "nim >= 2.0.10",
"stew",
"nimcrypto",
"stint",
Expand All @@ -44,8 +44,7 @@ proc build(args, path: string) =

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

proc buildOnly(args, path: string) =
build args & " --mm:refc", path
Expand Down

0 comments on commit 081b798

Please sign in to comment.