//mojo:toolchain.bzl
This file declares the mojo_toolchain
rule.
mojo_toolchain
mojo_toolchain(name, LD_LIBRARY_PATH, MODULAR_HOME, MOJO_CC_PATH, MOJO_COMPILER,
MOJO_PYTHON_LIBRARY, symbolizer)
Attributes
Name | Description |
---|---|
name | Name , required.A unique name for this target. |
LD_LIBRARY_PATH | Label , optional, defaults to None .- |
MODULAR_HOME | Label , optional, defaults to None .- |
MOJO_CC_PATH | Label , optional, defaults to None .- |
MOJO_COMPILER | Label , optional, defaults to None .The path to the mojo compiler. |
MOJO_PYTHON_LIBRARY | Label , optional, defaults to None .- |
symbolizer | Label , optional, defaults to “@llvm-project//llvm:llvm-symbolizer
” .The llvm-symbolizer . |