Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.aspect.build/llms.txt

Use this file to discover all available pages before exploring further.

This module implements the language-specific toolchain rule.

Rule: swc_toolchain

Defines a swc compiler/runtime toolchain. For usage see https://docs.bazel.build/versions/main/toolchains.html#defining-toolchains.

Attributes

name
name
required
A unique name for this target.
target_tool
label
default:"None"
A hermetically downloaded ‘swcx’ cli for the target platform.
target_tool_path
string
default:"\"\""
Path to an existing ‘swcx’ cli for the target platform.

Provider: SwcInfo

Information about how to invoke the tool executable.

Fields

swc_binary
Path to the rust-native ‘swcx’ cli 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.