Browse Source

update stackage snapshots to 16.26 and fix a warning with zig0.7

master
Gil Mizrahi 10 months ago
parent
commit
4e36fabc37
4 changed files with 4 additions and 2 deletions
  1. +1
    -1
      .gitlab-ci.yml
  2. +1
    -0
      build.hs
  3. +1
    -1
      src/utils.c
  4. +1
    -0
      tests/Tests.hs

+ 1
- 1
.gitlab-ci.yml View File

@@ -14,7 +14,7 @@ before_script:
- apt-get install make xz-utils
- wget -qO- https://get.haskellstack.org/ | sh
- stack setup --no-terminal
- if [ ! -f zig.tar.xz ]; then wget -qO zig.tar.xz https://ziglang.org/builds/zig-linux-x86_64-0.6.0+e79d7e0de.tar.xz; fi
- if [ ! -f zig.tar.xz ]; then wget -qO zig.tar.xz https://ziglang.org/builds/zig-linux-x86_64-0.7.1+43dbe8622.tar.xz; fi
- mkdir zig && tar xf zig.tar.xz -C zig --strip-components 1

stages:


+ 1
- 0
build.hs View File

@@ -1,5 +1,5 @@
#!/usr/bin/env stack
-- stack --resolver lts-16.26 script


-- initial version taken from https://shakebuild.com/manual


+ 1
- 1
src/utils.c View File

@@ -16,7 +16,7 @@ void fprint_stackobj(FILE* fp, int verbosity, StackObject stack_obj) {
if (verbosity) {
fprint_heapobj(fp, stack_obj.pointer);
} else {
fprintf(fp, "%x ", (unsigned int)(stack_obj.pointer));
fprintf(fp, "%lu ", (unsigned long)(stack_obj.pointer));
}
}
}


+ 1
- 0
tests/Tests.hs View File

@@ -1,5 +1,5 @@
#!/usr/bin/env stack
-- stack --resolver lts-16.26 script --package bytestring --package cereal --package hspec --package process

{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}


Loading…
Cancel
Save