Commit 17b0da58 authored by Denis_P's avatar Denis_P 🤸 Committed by Hero Bird

Fix RUSTFLAGS in CI (#216)

* WIP

* typo

* error with toml parsing

* test
parent a86d671b
Pipeline #54967 failed with stages
in 37 seconds
......@@ -15,7 +15,6 @@ variables:
SCCACHE_DIR: "/ci-cache/${CI_PROJECT_NAME}/sccache"
CARGO_INCREMENTAL: 0
CI_SERVER_NAME: "GitLab CI"
RUSTFLAGS: "-C link-dead-code"
REGISTRY: registry.parity.io/parity/infrastructure/scripts
.collect-artifacts: &collect-artifacts
......@@ -33,6 +32,8 @@ variables:
- rustc -vV
- rustup show
- bash --version
# global RUSTFLAGS overrides the linker args so this way is better to pass the flags
- printf '[build]\nrustflags = ["-C", "link-dead-code"]\n' | tee ${CARGO_HOME}/config
- sccache -s
only:
- master
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment