package dune-build-info
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=e92987ffe4bc7956b18b2251b0f9844d55dfa387035ce60a3f0fd5ac4e2617d4
sha512=ef42c7ac24f300c00c429ea0e7e152bb46f7bbb1e81cf1dad225c4f41598f744b83d404a8ac949c2da074288f5560c8770421ba474a5751a20090b2f9cfa2435
doc/dune-build-info/Build_info/V1/index.html
Module Build_info.V1Source
Provide build-time information.
The entry points in this module are version and Statically_linked_libraries.to_list.
Implementation note: this module is implemented using special support from Dune. When an executable is linked, a special "blank" placeholder is stored as a string. A special post-link phase called artifact substitution can replace this placeholder with encoded data that will be decoded by this library.
Artifact substitution happens when an executable is installed or promoted to the source tree.
The version at which the current executable was built.
The version is None during development, it is only Some _ once artifact substitution happened.
A library with an optional version number.
Entry points to find Statically_linked_library values.