Skip to content

Commit 7f2d988

Browse files
authored
Merge pull request #2344 from art-w/uuidm
Fix: deprecated Uuidm.v
2 parents 517f133 + 5e19abd commit 7f2d988

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bench/irmin-pack/bench_common.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ let random_key () = random_string 5
6262

6363
let default_artefacts_dir =
6464
let ( / ) = Filename.concat in
65-
Unix.getcwd () / "_artefacts" / Uuidm.to_string (Uuidm.v `V4)
65+
let uuid = Uuidm.v4_gen (Random.State.make_self_init ()) () in
66+
Unix.getcwd () / "_artefacts" / Uuidm.to_string uuid
6667

6768
let prepare_artefacts_dir path =
6869
let rec mkdir_p path =

0 commit comments

Comments
 (0)