Skip to content

Commit b7c236b

Browse files
committed
bump skylib version; fix ppx transform bug
1 parent 7ab9f4c commit b7c236b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ module(
77

88
bazel_dep(name = "platforms", version = "0.0.8")
99
bazel_dep(name = "rules_cc", version = "0.0.9")
10-
bazel_dep(name = "bazel_skylib", version = "1.4.2")
10+
bazel_dep(name = "bazel_skylib", version = "1.5.0")

ocaml/_rules/impl_ppx_transform.bzl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ def impl_ppx_transform(rule, ctx, srcfile, dst):
7878

7979
## FIXME: add ctx.attr._ppx_print as build flag, ctx.attr.ppx_print as string override
8080
if hasattr(ctx.attr, "ppx_print"):
81+
# fail(ctx.attr.ppx_print[BuildSettingInfo].value)
82+
8183
# rule == ocaml_module, ocaml_signature
8284
if ctx.attr.ppx_print[BuildSettingInfo].value == "binary":
8385
if hasattr(ctx.attr, "args"):

0 commit comments

Comments
 (0)