Skip to content

Commit d9813c3

Browse files
authored
make c2nim compatible with 1.2.0 (#248)
* enable deepcopy * bump minimal version requirements * make c2nim compatible with 1.2.0 Co-authored-by: xflywind <[email protected]>
1 parent 5c7474e commit d9813c3

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

c2nim.nimble

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ skipExt = @["nim"]
88

99
bin = @["c2nim"]
1010

11-
requires "nim >= 1.4.0"
11+
requires "nim >= 1.2.0"
1212

1313
import strutils
1414

c2nim.nims

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
--d:nimOldCaseObjects
2+
when (NimMajor, NimMinor) >= (1, 4):
3+
--deepcopy:on

nim.cfg

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)