mirror of
https://gitlab.com/pezkuwichain/pezkuwi-sdk.git
synced 2026-10-20 18:56:23 +00:00
Make this monorepo's tracked tree identical to the deployed github repo (github.com/pezkuwichain/pezkuwi-DKS): all RC/AH/People runtimes and framework carry the mainnet fixes (incl. U128CurrencyToVote everywhere, so the staking election stall cannot recur), and tools/usdt-bridge matches the current, public-safe custody tooling (real config/deploy units gitignored, secret-file locations and server IPs stripped, sanitized *.example templates committed). Only exception to the mirror: GitLab-native CI is preserved (.gitlab-ci.yml and .gitlab/), to be rebuilt to match the github CI pipeline in a follow-up.
24 lines
1.1 KiB
TOML
24 lines
1.1 KiB
TOML
[build]
|
|
rustdocflags = [
|
|
"-Dwarnings",
|
|
"-Arustdoc::redundant_explicit_links", # stylistic
|
|
]
|
|
|
|
[env]
|
|
# Needed for musl builds so user doesn't have to install musl-tools.
|
|
CC_x86_64_unknown_linux_musl = { value = ".cargo/musl-gcc", force = true, relative = true }
|
|
CXX_x86_64_unknown_linux_musl = { value = ".cargo/musl-g++", force = true, relative = true }
|
|
CARGO_WORKSPACE_ROOT_DIR = { value = "", relative = true }
|
|
SQLX_OFFLINE = "true"
|
|
# Rust 1.96 removed the implicit `--allow-undefined` from wasm linking
|
|
# (https://blog.rust-lang.org/2026/04/04/changes-to-webassembly-targets-and-handling-undefined-symbols/).
|
|
# Bizinikiwi/Substrate runtimes import their host functions (`ext_*`) as undefined
|
|
# wasm symbols resolved by the executor at runtime, so we restore that behavior for
|
|
# the runtime wasm build. wasm-builder appends WASM_BUILD_RUSTFLAGS to the runtime's
|
|
# wasm RUSTFLAGS; the resulting WASM is import-identical to the previous toolchain.
|
|
WASM_BUILD_RUSTFLAGS = "-Clink-arg=--allow-undefined"
|
|
|
|
[net]
|
|
retry = 5
|
|
# git-fetch-with-cli = true # commented because there is a risk that a runner can be banned by github
|