-
Notifications
You must be signed in to change notification settings - Fork 470
staged_pps with a recent lang directive #6644
Copy link
Copy link
Closed
ocaml/opam-repository
#23349Milestone
Description
Expected Behavior
When using lang dune 3.6 instead of lang dune 2.0, staged_pps should still work.
Actual Behavior
The build process fails with the following error:
File "dune", line 1, characters 0-81:
1 | (executable
2 | (name proj)
3 | (preprocess (staged_pps ppx_import ppx_deriving.show)))
Error: This rule forbids all sandboxing modes (but it also requires
sandboxing)
Reproduction
- Create
dune-projectwith the following contents:(lang dune 3.6) (name proj) - Create
dunewith the following contents:(executable (name proj) (preprocess (staged_pps ppx_import ppx_deriving.show))) - Create an empty
proj.ml. - Run
dune build.
Specifications
- Version of
dune(output ofdune --version): 3.6.1 - Version of
ocaml(output ofocamlc --version): 4.14.0 - Operating system (distribution and version): Arch Linux
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels