Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-tan committed Jul 13, 2024
1 parent de92baa commit 5f5e1bc
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"dockerfile": "Dockerfile",
"args": {
"DC": "ldc",
"DC_VERSION": "1.37.0",
"NJS_VERSION": "0.8.4"
"DC_VERSION": "1.39.0",
"NJS_VERSION": "0.8.5"
}
},
"runArgs": ["--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined"],
Expand Down Expand Up @@ -36,7 +36,7 @@

"containerUser": "vscode",
"features": {
"ghcr.io/devcontainers/features/python:1": {},
"ghcr.io/devcontainers/features/python:1": {}
// "ghcr.io/devcontainers/features/docker-in-docker:1": {}
}
}
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
pull_request: {}

env:
NJS_VERSION: 0.8.3
NJS_VERSION: 0.8.5

jobs:
info:
Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
needs: [info]
strategy:
matrix:
dc: [dmd-2.107.1, ldc-1.37.0 ]
dc: [dmd-2.109.1, ldc-1.39.0 ]
experimental: [false]
include:
- dc: dmd-latest
Expand Down Expand Up @@ -148,7 +148,7 @@ jobs:
key: ${{ runner.os }}-${{ runner.arch }}-${{ env.NJS_VERSION }}
- uses: dlang-community/setup-dlang@v1
with:
compiler: ldc-1.37.0
compiler: ldc-1.39.0
- name: Install njs libs
if: steps.njs_cache.outputs.cache-hit != 'true'
run: |
Expand Down
4 changes: 2 additions & 2 deletions dub.selections.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"automem": "0.6.10",
"cachetools": "0.4.1",
"cwl-d": "0.3.1",
"dyaml": "0.9.2",
"dyaml": "0.10.0",
"requests": "2.1.3",
"schema-salad-d": "1.1.1",
"schema-salad-d": "1.1.4",
"sumtype": "1.1.4",
"test_allocator": "0.3.4",
"tinyendian": "0.2.0",
Expand Down
7 changes: 6 additions & 1 deletion source/shaft/evaluator/engine/njs_d.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@

__import core.stdc.math;
#define __builtin_signbit signbit

// dmd 2.107.1 (ldc 1.37.0) and earlier
//#define __builtin_signbit signbit

// dmd 2.108.0 (ldc 1.38.0) and later
#define __builtin_signbit __signbit

#include <njs_main.h>

0 comments on commit 5f5e1bc

Please sign in to comment.