-
Notifications
You must be signed in to change notification settings - Fork 412
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Add comment explaining why dune-site.linker is virtual. 2. Add comment explaining why two opens in toplevel/linker.ml. 3. Fix indentation of dune stanzas in tests. Signed-off-by: Richard L Ford <[email protected]>
- Loading branch information
1 parent
102b609
commit c495a83
Showing
6 changed files
with
134 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
(library | ||
(name dune_site_backend) | ||
(public_name dune-site.linker) | ||
|
||
; The linker module is virtual because it has two implementations | ||
; for load. | ||
; dune-site.dynlink implements it using Dynlink.loadfile | ||
; dune-site.toplevel implements it using | ||
; Topdirs.loadfile (before 4.13.0) or Toploop.loadfile (otherwise). | ||
; dune-site.toplevel is needed for OCaml toplevels with plugins. | ||
(virtual_modules linker) | ||
(default_implementation dune-site.dynlink)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.