42 lines
709 B
TOML
42 lines
709 B
TOML
[build]
|
|
|
|
# Use bundled crates; this should permit offline build.
|
|
vendor = true
|
|
|
|
# In addition to rustc, rust-std and rust-docs, build Cargo.
|
|
extended = true
|
|
|
|
# python(1) location.
|
|
python = "%PYTHON_CMD%"
|
|
|
|
# Do we want to build docs?
|
|
docs = %DOCS%
|
|
|
|
[install]
|
|
|
|
# Install location.
|
|
prefix = "%PREFIX%"
|
|
sysconfdir = "%SYSCONFDIR%"
|
|
mandir = "%MANDIR%"
|
|
|
|
[rust]
|
|
|
|
# Rust release channel.
|
|
channel = "%CHANNEL%"
|
|
|
|
default-linker = "%CC%"
|
|
|
|
[llvm]
|
|
ccache = %CCACHE%
|
|
#targets = "X86;ARM;AArch64;Mips;PowerPC;SystemZ;JSBackend;MSP430;Sparc;NVPTX;Hexagon"
|
|
#experimental-targets = "WebAssembly;RISCV"
|
|
|
|
[target.%TARGET%]
|
|
cc = "%CC%"
|
|
cxx = "%CXX%"
|
|
linker = "%CC%"
|
|
|
|
[dist]
|
|
|
|
# Do not build the source archive.
|
|
src-tarball = false
|