Skip to content

Commit b22930f

Browse files
Zeta611cristianoc
authored andcommitted
Elaborate more on -native-build-target
1 parent 5166b4d commit b22930f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,9 @@ This automatically annotates `@live` all the items in the `src/test` and `tmp` f
138138

139139
### CLI -native-build-target
140140

141-
If a native project uses code generation, e.g., via `ocamlyacc`, the build target path needs to be specified to ensure correct analysis.
141+
If a native project uses code generation and emit the generated files only in the build directory, reanalyze may not be able to locate them.
142+
This is due to the paths being not relative to the project root directory.
143+
An example of it can be caused by using tools like `ocamlyacc`.
142144

143145
For example, you might want to set `_build/default` for projects that use the default dune build target:
144146
```sh

0 commit comments

Comments
 (0)