[alias] x = "run -p xtask --" # No lint levels in rustflags: they reach every rustc invocation, test and # bench builds included, so production-only levels could not relax outside # production (.system/RULES.md Build gates, lint scopes). xtask owns every # level per scope: SHARED_LINTS, PRODUCTION_LINTS, NON_PRODUCTION_LINTS for # `cargo x lint`, DOC_LINTS for `cargo x doc`. [registries.crates-io] protocol = "sparse" [target.'cfg(target_family = "wasm")'] rustflags = ["-C", "target-cpu=generic"] # Linker choice is a machine preference (e.g. mold via ~/.cargo/config.toml # target tables); the repo links with the toolchain default so any image # builds it. # Native Termux ARM64: vendored LuaJIT needs compiler-rt for __clear_cache. # `latest` is Termux's stable symlink to the installed Clang resource version. [target.aarch64-linux-android] rustflags = [ "-L", "native=/data/data/com.termux/files/usr/lib/clang/latest/lib/linux", "-C", "link-arg=-lclang_rt.builtins-aarch64-android", ]