Skip to content

Commit b30eb7e

Browse files
mszabo-wikiameta-codesync[bot]
authored andcommitted
Provide OCaml env vars for ocamlrep crate (#9635)
Summary: build.rs in the ocamlrep crate expects a working OPAM env, so provide it in the setup file. Pull Request resolved: #9635 Reviewed By: paulbiss, Wilfred Differential Revision: D83145448 fbshipit-source-id: 6a8849e296cb7c306ec92be375c75124e306a525
1 parent 62bfbfa commit b30eb7e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

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)