1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-19 01:17:06 +00:00
termux-packages/packages/rust/config.toml

75 lines
1.5 KiB
TOML
Raw Normal View History

2018-11-11 02:27:20 +00:00
# See documentation at
2023-09-30 02:13:26 +00:00
# https://github.com/rust-lang/rust/blob/master/config.example.toml
2018-11-11 02:27:20 +00:00
2018-10-21 00:05:12 +00:00
[llvm]
link-shared = true
[build]
host = ["@CARGO_TARGET_NAME@"]
target = [
"aarch64-linux-android",
"armv7-linux-androideabi",
"i686-linux-android",
"x86_64-linux-android",
"wasm32-unknown-unknown",
"wasm32-wasi",
]
rustc = "@RUSTC@"
cargo = "@CARGO@"
2023-09-30 02:13:26 +00:00
python = "python3"
2018-10-21 00:05:12 +00:00
extended = true
tools = [
"cargo",
"clippy",
"rustdoc",
"rustfmt",
"rust-analyzer-proc-macro-srv",
"analysis",
"src",
"rust-demangler",
]
2018-10-21 00:05:12 +00:00
sanitizers = false
[install]
prefix = "@TERMUX_PREFIX@"
sysconfdir = "etc"
[rust]
optimize = true
debug = false
codegen-units = 0
2019-01-19 08:51:01 +00:00
jemalloc = false
2018-10-21 00:05:12 +00:00
channel = "stable"
rpath = false
[target.x86_64-unknown-linux-gnu]
2023-09-30 02:13:26 +00:00
llvm-config = "/usr/bin/llvm-config-15"
[target.aarch64-linux-android]
android-ndk = "@TERMUX_STANDALONE_TOOLCHAIN@"
llvm-config = "@TERMUX_PREFIX@/bin/llvm-config"
profiler = true
[target.armv7-linux-androideabi]
android-ndk = "@TERMUX_STANDALONE_TOOLCHAIN@"
llvm-config = "@TERMUX_PREFIX@/bin/llvm-config"
profiler = true
[target.i686-linux-android]
android-ndk = "@TERMUX_STANDALONE_TOOLCHAIN@"
llvm-config = "@TERMUX_PREFIX@/bin/llvm-config"
profiler = true
[target.x86_64-linux-android]
2018-10-21 00:05:12 +00:00
android-ndk = "@TERMUX_STANDALONE_TOOLCHAIN@"
llvm-config = "@TERMUX_PREFIX@/bin/llvm-config"
profiler = true
2018-10-21 00:05:12 +00:00
[target.wasm32-wasi]
wasi-root = "@TERMUX_PREFIX@/share/wasi-sysroot"
2018-10-21 00:05:12 +00:00
[dist]
src-tarball = false
compression-formats = ["gz"]
2019-10-21 01:52:24 +00:00
#missing-tools = true