Skip to content

Commit 55ce1ba

Browse files
djs55claude
andcommitted
ocamlformat: reformat repository to satisfy lint-fmt
Apply ocamlformat 0.20.1 (the version pinned in .ocamlformat) across the repository. The tree had drifted from the pinned format, which failed ocaml-ci's lint-fmt check. Also set 'comment-check = false' in .ocamlformat so ocamlformat tolerates a few pre-existing misplaced (** ... *) doc comments (warning 50) in src/dns/{operators,packet}.ml[i] instead of erroring out. Kept as a single isolated commit, separate from the Mirage-update changes. No semantic changes (formatting only; verified the tree still builds). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: David Scott <dave@recoil.org>
1 parent 2c0e648 commit 55ce1ba

142 files changed

Lines changed: 15596 additions & 13457 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.ocamlformat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
profile = default
22
version = 0.20.1
3+
comment-check = false

compile_commands.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[{"directory":"/home/agent/vpnkit-build/default/src/hostnet","file":"stubs_utils.c","arguments":["gcc","-O2","-fno-strict-aliasing","-fwrapv","-fPIC","-pthread","-D_FILE_OFFSET_BITS=64","-Wall","-fdiagnostics-color=always","-g","-I","/home/agent/.opam/vpnkit-mirage/lib/ocaml","-I","/home/agent/.opam/vpnkit-mirage/lib/arp","-I","/home/agent/.opam/vpnkit-mirage/lib/astring","-I","/home/agent/.opam/vpnkit-mirage/lib/base64","-I","/home/agent/.opam/vpnkit-mirage/lib/charrua","-I","/home/agent/.opam/vpnkit-mirage/lib/charrua-server","-I","/home/agent/.opam/vpnkit-mirage/lib/cohttp-lwt","-I","/home/agent/.opam/vpnkit-mirage/lib/cstruct","-I","/home/agent/.opam/vpnkit-mirage/lib/duration","-I","/home/agent/.opam/vpnkit-mirage/lib/ethernet","-I","/home/agent/.opam/vpnkit-mirage/lib/ezjsonm","-I","/home/agent/.opam/vpnkit-mirage/lib/io-page","-I","/home/agent/.opam/vpnkit-mirage/lib/ipaddr","-I","/home/agent/.opam/vpnkit-mirage/lib/logs","-I","/home/agent/.opam/vpnkit-mirage/lib/luv","-I","/home/agent/.opam/vpnkit-mirage/lib/luv_unix","-I","/home/agent/.opam/vpnkit-mirage/lib/lwt/unix","-I","/home/agent/.opam/vpnkit-mirage/lib/mirage-channel","-I","/home/agent/.opam/vpnkit-mirage/lib/mirage-flow","-I","/home/agent/.opam/vpnkit-mirage/lib/mirage-flow-combinators","-I","/home/agent/.opam/vpnkit-mirage/lib/mirage-vnetif","-I","/home/agent/.opam/vpnkit-mirage/lib/ocaml/threads","-I","/home/agent/.opam/vpnkit-mirage/lib/pcap-format","-I","/home/agent/.opam/vpnkit-mirage/lib/ppx_inline_test/config","-I","/home/agent/.opam/vpnkit-mirage/lib/ppx_inline_test/runtime-lib","-I","/home/agent/.opam/vpnkit-mirage/lib/ppx_sexp_conv","-I","/home/agent/.opam/vpnkit-mirage/lib/sha","-I","/home/agent/.opam/vpnkit-mirage/lib/tar","-I","/home/agent/.opam/vpnkit-mirage/lib/tcpip/checksum","-I","/home/agent/.opam/vpnkit-mirage/lib/tcpip/icmpv4","-I","/home/agent/.opam/vpnkit-mirage/lib/tcpip/ipv4","-I","/home/agent/.opam/vpnkit-mirage/lib/tcpip/stack-direct","-I","/home/agent/.opam/vpnkit-mirage/lib/tcpip/tcp","-I","/home/agent/.opam/vpnkit-mirage/lib/tcpip/udp","-I","/home/agent/.opam/vpnkit-mirage/lib/uuidm","-I","../cstructs","-I","../dns","-I","../dns_forward","-I","../dns_lwt","-I","../forwarder","-I","../fs9p","-I","../ofs","-o","stubs_utils.o","-c","stubs_utils.c"]}]

dune

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
(rule
22
(alias e2e)
3-
(deps src/hostnet_test/main.exe
4-
go/test_inputs/open_dedicated_connection.bin
5-
go/test_inputs/close.bin
6-
go/test_inputs/open_multiplexed_unix_connection.bin
7-
go/test_inputs/window.bin
8-
go/test_inputs/data.bin
9-
go/test_inputs/open_multiplexed_connection.bin
10-
go/test_inputs/shutdown.bin
11-
)
12-
(action (run ./src/hostnet_test/main.exe))
13-
)
3+
(deps
4+
src/hostnet_test/main.exe
5+
go/test_inputs/open_dedicated_connection.bin
6+
go/test_inputs/close.bin
7+
go/test_inputs/open_multiplexed_unix_connection.bin
8+
go/test_inputs/window.bin
9+
go/test_inputs/data.bin
10+
go/test_inputs/open_multiplexed_connection.bin
11+
go/test_inputs/shutdown.bin)
12+
(action
13+
(run ./src/hostnet_test/main.exe)))

scripts/dune

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
(executable
77
(libraries unix stringext ezjsonm)
88
(modules Licenses)
9-
(name licenses))
9+
(name licenses))

0 commit comments

Comments
 (0)