# See documentation at 
# https://github.com/rust-lang/rust/blob/master/config.toml.example

[llvm]
link-shared = true

[build]
host = ["@CARGO_TARGET_NAME@"]
target = ["@CARGO_TARGET_NAME@"]
cargo = "@CARGO_PATH@/bin/cargo"
rustc = "@CARGO_PATH@/bin/rustc"
docs = false
#extended = true

[install]
prefix = "@TERMUX_PREFIX@"

[rust]
use-jemalloc = false
channel = "stable"
optimize-tests = false
debuginfo-tests = false
codegen-tests = false
codegen-units = 0
deny-warnings = false

[target.x86_64-unknown-linux-gnu]
llvm-config = "/usr/bin/llvm-config"

[target.@CARGO_TARGET_NAME@]
cc = "@CC@"
cxx = "@CXX@"
ar = "@AR@"
linker = "@CC@"
llvm-config = "@TERMUX_PREFIX@/bin/llvm-config"

[dist]
src-tarball = false