Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mirage-crypto-rng-eio: declare the cstruct dependency #247

Merged
merged 2 commits into from
Oct 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

Loading