a26ce95158
Due to https://github.com/rust-lang/rust/issues/62558, the tools: rls, clippy, and rustfmt cannot be built. We also remove src which cuts the resulting size of the dep from about 330MB to 180MB. The build is further broken into two steps: 1. `x.py dist` 2. `x.py install` This change is because `x.py install` now fails due to an issue where bootstrap tries to install rustc-aarch64-linux-android before the installation script is generated.
41 lines
718 B
TOML
41 lines
718 B
TOML
# See documentation at
|
|
# https://github.com/rust-lang/rust/blob/master/config.toml.example
|
|
|
|
[llvm]
|
|
link-shared = true
|
|
|
|
[build]
|
|
host = ["@triple@"]
|
|
target = ["@triple@", "wasm32-unknown-unknown"]
|
|
rustc = "@RUSTC@"
|
|
cargo = "@CARGO@"
|
|
|
|
python = "python2.7"
|
|
extended = true
|
|
sanitizers = false
|
|
|
|
tools = ["cargo", "analysis"]
|
|
|
|
[install]
|
|
prefix = "@TERMUX_PREFIX@"
|
|
sysconfdir = "etc"
|
|
|
|
[rust]
|
|
optimize = true
|
|
debug = false
|
|
codegen-units = 0
|
|
jemalloc = false
|
|
channel = "stable"
|
|
rpath = false
|
|
|
|
[target.x86_64-unknown-linux-gnu]
|
|
llvm-config = "/usr/bin/llvm-config-8"
|
|
|
|
[target.@triple@]
|
|
android-ndk = "@TERMUX_STANDALONE_TOOLCHAIN@"
|
|
llvm-config = "@TERMUX_PREFIX@/bin/llvm-config"
|
|
|
|
[dist]
|
|
src-tarball = false
|
|
missing-tools = true
|