Skip to content

Commit 9909d65

Browse files
committed
Provide OCaml env vars for ocamlrep crate
build.rs in the ocamlrep crate expects a working OPAM env, so provide it in the setup file.
1 parent 8b0a654 commit 9909d65

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hphp/hack/dev_env_rust_only.sh.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,6 @@
1111
# . $BUILD_DIR/hphp/hack/dev_env_rust_only.sh
1212

1313
. "@CMAKE_CURRENT_BINARY_DIR@/dev_env_common.sh"
14-
# Nothing else to do for rust :)
14+
15+
# Export OCaml variables, needed by ocamlrep
16+
eval $(opam env)

0 commit comments

Comments
 (0)