Skip to content

Commit

Permalink
xsd_glue dune: Don't wrap library modules to maintain xen compatibility
Browse files Browse the repository at this point in the history
Signed-off-by: Andrii Sultanov <[email protected]>
  • Loading branch information
last-genius committed Oct 8, 2024
1 parent 867de1e commit 959cdfa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions oxenstored/domains.ml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ let () =
load_plug filepath

module Plugin =
( val Xsdglue.Plugin_interface_v1.get_plugin_v1 ()
: Xsdglue.Plugin_interface_v1.Domain_getinfo_V1
( val Plugin_interface_v1.get_plugin_v1 ()
: Plugin_interface_v1.Domain_getinfo_V1
)

let handle = Plugin.interface_open ()
Expand Down
2 changes: 1 addition & 1 deletion xsd_glue/domain_getinfo_plugin_v1/domain_getinfo_v1.ml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(* SPDX-License-Identifier: LGPL-2.1-only WITH OCaml-LGPL-linking-exception *)
(** Minimal interface on top of unstable Xenctrl for Oxenstored's usage *)

module P = Xsdglue.Plugin_interface_v1
module P = Plugin_interface_v1

module M : P.Domain_getinfo_V1 = struct
exception Error of string
Expand Down
1 change: 1 addition & 0 deletions xsd_glue/dune
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(library
(name xsdglue)
(public_name oxenstored.xsdglue)
(wrapped false)
)

0 comments on commit 959cdfa

Please sign in to comment.