Skip to content

Commit de59db8

Browse files
[rules_ios] Change to_json to json.encode()
This was deprecated in bazel 8, so use the new api
1 parent 6f8ea4a commit de59db8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/framework/vfs_overlay.bzl

+1-1
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ def make_vfsoverlay(ctx, hdrs, module_map, private_hdrs, has_swift, swiftmodules
426426
"contents": roots,
427427
}],
428428
}
429-
vfsoverlay_yaml = struct(**vfsoverlay_object).to_json()
429+
vfsoverlay_yaml = json.encode(vfsoverlay_object)
430430
ctx.actions.write(
431431
content = vfsoverlay_yaml,
432432
output = output,

0 commit comments

Comments
 (0)