Skip to content

Latest commit

 

History

History
45 lines (26 loc) · 1.76 KB

fennel_toolchain.md

File metadata and controls

45 lines (26 loc) · 1.76 KB

This module implements the language-specific toolchain rule.

fennel_toolchain

fennel_toolchain(name, extra_tool_files, target_tool)

Defines a fennel compiler/runtime toolchain.

For usage see https://docs.bazel.build/versions/main/toolchains.html#defining-toolchains.

ATTRIBUTES

Name Description Type Mandatory Default
name A unique name for this target. Name required
extra_tool_files - List of labels optional []
target_tool A hermetically downloaded executable target for the target platform. Label required

FennelInfo

FennelInfo(target_tool, tool_files)

Information about how to invoke the tool executable.

FIELDS

Name Description
target_tool Path to the tool executable for the target platform.
tool_files Files required in runfiles to make the tool executable available.

May be empty if the target_tool_path points to a locally installed tool binary.