0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-02-22 22:47:51 +00:00
Jia Yuan Lo 53df49b00c bump(main/rust): 1.84.0
Remove building rust std wasm32-wasi
2025-01-12 16:00:56 +08:00

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 = "/usr/bin/llvm-config-18"
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