Quantcast
Channel: OCaml - Topics tagged dune
Viewing all articles
Browse latest Browse all 544

What is 'map_workspace_root' used for?

$
0
0

As per the doc page: map_workspace_root — Dune documentation

with (map_workspace_root true) , dune rewrites references to the workspace root to /workspace_root.

However, it doesn’t explain what that means in practical terms for the user’s project.

What exactly is a ‘reference to the workspace root’ and where does it appear?

What does the documentation mean by /workspace_root? Is it literally that exact path? Or is it a placeholder for ‘the project’s workspace root’?

Why does dune do this rewrite?

4 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 544

Trending Articles