Gregg Reynolds

Results 84 issues of Gregg Reynolds

A Dune library (unwrapped) may include modules from multiple subdirectories. To support this in OBazl, we to be able to aggregate `ocaml_library` targets: if lib A depends on libs B...

Deal with dune `private_modules` field. Background: [Properly wrap a package’s modules with dune](https://discuss.ocaml.org/t/properly-wrap-a-package-s-modules-with-dune/4404)

This rule is not obazl-specific. Move it out of rules_ocaml, to tools_bazel or something like that.

They should behave the same, but in obazl-2 that does not seem to be the case. At least for the tezos test case, ocaml_ns_archive works but ocaml_ns_library results in "No...

For some reason my ppx executable is printing memory stats: ``` INFO: From ppx_transform ocaml_module: demos//ppx/adjunct_deps:_Test: ### OCaml runtime: debug mode ### Initial minor heap size: 256k words Initial major...

if user passes Bazel debug flag, `-c dbg`, we should pass `-g` to the OCaml compiler?

Demo [ppx/get_env](https://github.com/obazl/dev_obazl/tree/main/demos/ppx/rewriters/get_env) runs a ppx that reads an env variable. Currently it fails with "env var not found". Passing `--action_env` does not help. My suspicion is that this is because...

The cc command generated by the ocamlopt native compiler sometimes includes stuff that causes ld warnings. An example is the demo `demos/cli/sys.argv:kitty` in [https://github.com/obazl/dev_obazl](https://github.com/obazl/dev_obazl), which adds `-Lcore` for reasons unknown....

`digestif` is an example of a library that affords multiple implementations. To use it one must depend on both `digestif` and either `digestif.c` or `digestif.ocaml` We should be able to...

The switch specified in the config may be different than the current switch. The build should work, but then any tools used at the command line may fail. Case in...