Skip to content

Commit

Permalink
Fix deprecations in Fmt 0.8.10.
Browse files Browse the repository at this point in the history
Disable cram tests on i386 due to relocation warnings.
ocaml/ocaml#9800
  • Loading branch information
tmcgilchrist committed Apr 17, 2023
1 parent 77f6a9b commit 512336d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion tests/dune
@@ -1 +1,4 @@
(cram (deps %{bin:opam-dune-lint}))
(cram
(deps %{bin:opam-dune-lint})
(enabled_if
(<> %{architecture} "i386")))
2 changes: 1 addition & 1 deletion types.ml
Expand Up @@ -39,7 +39,7 @@ module Change_with_hint = struct
in
let hint =
if Dir_set.is_empty dirs then hint
else Fmt.strf "[from @[<h>%a@]]" Fmt.(list ~sep:comma string) (Dir_set.elements dirs) :: hint
else Fmt.str "[from @[<h>%a@]]" Fmt.(list ~sep:comma string) (Dir_set.elements dirs) :: hint
in
if hint = [] then
Fmt.string f change
Expand Down

0 comments on commit 512336d

Please sign in to comment.