mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-02-03 00:22:22 +00:00
- After https://github.com/termux/termux-packages/pull/25197, the termux-package-builder docker container will now contain `clang-19`, not `clang-18`, so all instances of `clang-18` and accompanying `-18` program names need to be renamed to `-19` instead. - It should be noted that there is another kind of `clang`-hostbuild that can be found in termux-packages that uses NDK-`clang` to hostbuild rather than system-`clang`. Those do not have a number appended to their invocations of `clang`, so they are unaffected here and do not need to be modified. - Introduce new variables `TERMUX_HOST_LLVM_MAJOR_VERSION` and `TERMUX_HOST_LLVM_BASE_DIR` in `scripts/properties.sh` to reduce the number of places where the llvm.org-provided LLVM installation version number needs to be updated to just 1 %ci:no-build
80 lines
1.5 KiB
TOML
80 lines
1.5 KiB
TOML
# See documentation at
|
|
# https://github.com/rust-lang/rust/blob/master/config.example.toml
|
|
|
|
# https://github.com/rust-lang/rust/issues/135358
|
|
profile = "dist"
|
|
|
|
[llvm]
|
|
download-ci-llvm = false
|
|
link-shared = true
|
|
|
|
[build]
|
|
host = ["@CARGO_TARGET_NAME@"]
|
|
target = [
|
|
"aarch64-linux-android",
|
|
"armv7-linux-androideabi",
|
|
"i686-linux-android",
|
|
"x86_64-linux-android",
|
|
]
|
|
rustc = "@RUSTC@"
|
|
cargo = "@CARGO@"
|
|
python = "python3"
|
|
extended = true
|
|
tools = [
|
|
"cargo",
|
|
"clippy",
|
|
"rustdoc",
|
|
"rustfmt",
|
|
"rust-analyzer-proc-macro-srv",
|
|
"analysis",
|
|
"src",
|
|
"rust-demangler",
|
|
]
|
|
sanitizers = false
|
|
android-ndk = "@TERMUX_STANDALONE_TOOLCHAIN@"
|
|
|
|
[install]
|
|
prefix = "@TERMUX_PREFIX@"
|
|
sysconfdir = "etc"
|
|
docdir = "share/doc/rust"
|
|
|
|
[rust]
|
|
optimize = true
|
|
debug = false
|
|
codegen-units = 0
|
|
jemalloc = false
|
|
channel = "stable"
|
|
rpath = false
|
|
lld = false
|
|
|
|
[target.x86_64-unknown-linux-gnu]
|
|
llvm-config = "@TERMUX_HOST_LLVM_BASE_DIR@/bin/llvm-config"
|
|
rpath = true
|
|
|
|
[target.aarch64-linux-android]
|
|
llvm-config = "@TERMUX_PREFIX@/bin/llvm-config"
|
|
profiler = true
|
|
|
|
[target.armv7-linux-androideabi]
|
|
llvm-config = "@TERMUX_PREFIX@/bin/llvm-config"
|
|
profiler = true
|
|
|
|
[target.i686-linux-android]
|
|
llvm-config = "@TERMUX_PREFIX@/bin/llvm-config"
|
|
profiler = true
|
|
|
|
[target.x86_64-linux-android]
|
|
llvm-config = "@TERMUX_PREFIX@/bin/llvm-config"
|
|
profiler = true
|
|
|
|
[target.wasm32-wasip1]
|
|
wasi-root = "@TERMUX_PREFIX@/share/wasi-sysroot"
|
|
|
|
[target.wasm32-wasip2]
|
|
wasi-root = "@TERMUX_PREFIX@/share/wasi-sysroot"
|
|
|
|
[dist]
|
|
src-tarball = false
|
|
compression-formats = ["gz"]
|
|
#missing-tools = true
|