Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions coq_of_rust/extensions.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ Basic extension framework for coq-of-rust toolchain configuration.
This will be enhanced as the implementation matures.
"""

load("@bazel_features//:features.bzl", "bazel_features")

# Basic tag class for coq-of-rust configuration
_CoqOfRustToolchainTag = tag_class(
doc = "Tags for defining coq-of-rust toolchains",
Expand Down
11 changes: 3 additions & 8 deletions toolchains/ocaml_extensions.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ This provides OCaml toolchain setup for users who need QuickChick
or other OCaml-based Coq plugins.
"""

load("@bazel_features//:features.bzl", "bazel_features")
load("//:toolchains/ocaml_toolchain.bzl", "ocaml_toolchain_repository")
load("//toolchains:ocaml_toolchain.bzl", "ocaml_toolchain_repository")

# Tag classes for OCaml toolchain configuration
_OcamlToolchainTag = tag_class(
Expand Down Expand Up @@ -51,12 +50,8 @@ def _ocaml_impl(module_ctx):
strategy = "download",
)

# Return extension metadata
metadata_kwargs = {}
if bazel_features.external_deps.extension_metadata_has_reproducible:
metadata_kwargs["reproducible"] = True

return module_ctx.extension_metadata(**metadata_kwargs)
# Return extension metadata (reproducible for caching)
return module_ctx.extension_metadata(reproducible = True)

# OCaml module extension
ocaml = module_extension(
Expand Down
Loading