Skip to content

Instantly share code, notes, and snippets.

@Julow
Last active September 26, 2023 13:35
Show Gist options
  • Save Julow/961080a45a58b964fd1bca7892445034 to your computer and use it in GitHub Desktop.
Save Julow/961080a45a58b964fd1bca7892445034 to your computer and use it in GitHub Desktop.
repro-dune-promote-non-existent
(rule (with-stdout-to "x.gen" (echo "toto")))
(rule
(alias bench)
(action
(diff promoted x.gen)))
(lang dune 3.7)
@Julow
Copy link
Author

Julow commented Jun 28, 2023

with dune build @bench on Dune 3.8.2:

File "dune", line 3, characters 0-55:
3 | (rule
4 |  (alias bench)
5 |  (action
6 |   (diff promoted x.gen)))
Error: Unable to resolve symlink _build/default/promoted

@Julow
Copy link
Author

Julow commented Sep 26, 2023

Corresponding issue: ocaml/dune#8075

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment