You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Module "Test_decompress" is used in several stanzas:
- benchmarks/decompress/dune:1
- benchmarks/decompress/dune:11
To fix this error, you must specify an explicit "modules" field in every
library, executable, and executables stanzas in this dune file. Note that
each module cannot appear in more than one "modules" field - it must belong
to a single library or executable.
If I copy test_decompress to a test_decompress_byte file and use it with the new alias, it runs fine. I would like to avoid duplicating the file just to use a different module name.
Is there a way to use the same module to build for native and/or byte code executables?
I have the
dune
file for building decompress benchmarks at https://github.com/ocaml-bench/sandmark/blob/main/benchmarks/decompress/dune.I would like to now build either
native
orbyte
code executables based on a runtime flag. I tried adding an alias forbytebench
as follows:I get the following error:
If I copy
test_decompress
to atest_decompress_byte
file and use it with the new alias, it runs fine. I would like to avoid duplicating the file just to use a different module name.Is there a way to use the same module to build for native and/or byte code executables?
References
The text was updated successfully, but these errors were encountered: