Skip to content

Commit

Permalink
Merge pull request #1654 from arturo-lang/upgrade-Nim-to-2.0.6
Browse files Browse the repository at this point in the history
Upgrade Nim to 2.0.8
  • Loading branch information
drkameleon authored Jul 12, 2024
2 parents c304297 + d505184 commit d142954
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
arch: ${{ matrix.arch }}
src: ${{ github.ref }}
metadata: ${{ env.BRANCH_NAME }}-${{ github.sha }}

- if: (matrix.mode != 'safe' && matrix.mode != 'web') && (matrix.os != 'ubuntu-latest' || matrix.arch != 'arm64')
name: Run tests (Old)
run: |
Expand Down
7 changes: 6 additions & 1 deletion src/vm/stack.nim
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,12 @@ var

# Main stack

template push*(v: Value) =
proc push*(v: Value) =
# TODO(Stack/push) performance enhancements?
# this was a `template` that we converted into a `proc` so that
# we could get the whole project to compile with Nim 2.0.8
# does it make any sense performance-wise?
# labels: vm, stack, enhancement, performance, benchmark
## push given value onto the stack
hookProcProfiler("stack/push"):
Stack[SP] = v
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion version/build
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3151
3190

0 comments on commit d142954

Please sign in to comment.