2018-11-11 03:27:20 +01:00
|
|
|
# See documentation at
|
|
|
|
# https://github.com/rust-lang/rust/blob/master/config.toml.example
|
|
|
|
|
2018-10-21 02:05:12 +02:00
|
|
|
[llvm]
|
|
|
|
link-shared = true
|
|
|
|
|
|
|
|
[build]
|
2018-10-30 16:05:54 +01:00
|
|
|
host = ["@triple@"]
|
2019-09-30 20:46:18 +02:00
|
|
|
target = ["@triple@", "wasm32-unknown-unknown"]
|
2018-12-11 01:45:39 +01:00
|
|
|
rustc = "@RUSTC@"
|
2019-09-30 20:46:18 +02:00
|
|
|
cargo = "@CARGO@"
|
2018-10-21 02:05:12 +02:00
|
|
|
|
|
|
|
python = "python2.7"
|
|
|
|
extended = true
|
|
|
|
sanitizers = false
|
|
|
|
|
2019-12-19 23:12:16 +01:00
|
|
|
#tools = ["cargo", "analysis", "clippy-driver" ]
|
2020-12-24 19:12:36 +01:00
|
|
|
tools = ["cargo", "rls", "clippy", "rustfmt", "analysis", "src"]
|
2019-09-30 20:46:18 +02:00
|
|
|
|
2018-10-21 02:05:12 +02:00
|
|
|
[install]
|
|
|
|
prefix = "@TERMUX_PREFIX@"
|
|
|
|
sysconfdir = "etc"
|
|
|
|
|
|
|
|
[rust]
|
2019-09-30 20:46:18 +02:00
|
|
|
optimize = true
|
|
|
|
debug = false
|
|
|
|
codegen-units = 0
|
2019-01-19 09:51:01 +01:00
|
|
|
jemalloc = false
|
2018-10-21 02:05:12 +02:00
|
|
|
channel = "stable"
|
|
|
|
rpath = false
|
|
|
|
|
2019-03-21 05:42:58 +01:00
|
|
|
[target.x86_64-unknown-linux-gnu]
|
2022-01-29 13:24:02 +01:00
|
|
|
llvm-config = "/usr/bin/llvm-config-12"
|
2019-03-21 05:42:58 +01:00
|
|
|
|
2018-10-30 16:05:54 +01:00
|
|
|
[target.@triple@]
|
2018-10-21 02:05:12 +02:00
|
|
|
android-ndk = "@TERMUX_STANDALONE_TOOLCHAIN@"
|
|
|
|
llvm-config = "@TERMUX_PREFIX@/bin/llvm-config"
|
2021-08-05 13:22:24 +02:00
|
|
|
ar = "llvm-ar"
|
2018-10-21 02:05:12 +02:00
|
|
|
|
|
|
|
[dist]
|
|
|
|
src-tarball = false
|
2019-10-21 03:52:24 +02:00
|
|
|
#missing-tools = true
|