Anthony Onah
Anthony Onah

Reputation: 125

Unbound module Eio-posix

I am trying to disable Windows symlinking tests in my OCaml code. However, when I run my tests, I encounter the following error message: Unbound module: Eio_posix

I installed the Eio library using opam, following the instructions from the Eio documentation. I'm not sure if I'm missing a step or if there's an issue with how I’m referencing the module.

open Eio.Std

let () = Printexc.record_backtrace true

module L = Eio_posix.Low_level


I expected this to work based on the documentation, but it seems like the module Eio_posix cannot be found. Any insights on why this might be happening or how to properly disable Windows symlinking tests in OCaml would be appreciated!

Upvotes: 1

Views: 53

Answers (1)

octachron
octachron

Reputation: 18912

The Eio_posix is part of the eio_posix library:

ocamlfind ocamlopt -thread -package eio_posix name.ml -linkpkg -o name

Upvotes: 1

Related Questions