Skip to content

Commit

Permalink
Merge pull request #247 from hannesm/no-cs
Browse files Browse the repository at this point in the history
mirage-crypto-rng-eio: declare the cstruct dependency
  • Loading branch information
hannesm authored Oct 1, 2024
2 parents cc388cd + 84cfdd2 commit 45095b8
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 29 deletions.
3 changes: 1 addition & 2 deletions .test-mirage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@ set -ex
opam install --confirm-level=unsafe-yes "mirage>4"
# to satisfy hardcoded version constraints in mirage, we need to be < 0.12.0
# and "dune subst" doesn't work on these PR checkouts
version='version: "0.11.99~dev"'
version='version: "1.99.0~dev"'
echo $version >> mirage-crypto-rng-mirage.opam
echo $version >> mirage-crypto-rng.opam
echo $version >> mirage-crypto.opam
echo $version >> mirage-crypto-pk.opam
opam pin add -yn mirage-random.3.99 --dev
(mirage configure -t unix -f mirage/config.ml && gmake depend && dune build --root . mirage/dist/ && mirage/dist/crypto-test) || exit 1
(mirage configure -t hvt -f mirage/config.ml && gmake depend && dune build --root . mirage/dist/) || exit 1
if [ $(uname -m) = "amd64" ] || [ $(uname -m) = "x86_64" ]; then
Expand Down
1 change: 1 addition & 0 deletions mirage-crypto-rng-eio.opam
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ depends: [
"mirage-crypto-rng" {=version}
"duration"
"mtime"
"cstruct" {>= "6.1.0"}
"eio_main" {with-test}
"ohex" {with-test & >= "0.2.0"}
]
Expand Down
2 changes: 1 addition & 1 deletion rng/eio/dune
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(library
(name mirage_crypto_rng_eio)
(public_name mirage-crypto-rng-eio)
(libraries eio logs mirage-crypto-rng duration mtime))
(libraries eio logs mirage-crypto-rng duration mtime cstruct))
26 changes: 0 additions & 26 deletions tests/test_rng.ml

This file was deleted.

0 comments on commit 45095b8

Please sign in to comment.