Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

[DNM] Debug clippy #7624

Closed
wants to merge 9 commits into from
Closed

[DNM] Debug clippy #7624

wants to merge 9 commits into from

Conversation

alvicsam
Copy link
Contributor

No description provided.

@alvicsam alvicsam requested review from chevdor and a team as code owners August 15, 2023 13:02
@paritytech-ci paritytech-ci requested a review from a team August 15, 2023 13:02
@ggwpez
Copy link
Member

ggwpez commented Aug 15, 2023

If this goes green we may try to run SKIP_WASM_BUILD=1 cargo +1.70 clippy --all-targets --locked -p polkadot-runtime-parachains directly in CI to check that this fails with the expected 159 errors.

- cargo version && cargo clippy --version
- SKIP_WASM_BUILD=1 env -u RUSTFLAGS cargo clippy --locked --all-targets
- SKIP_WASM_BUILD=1 cargo +1.70 clippy --all-targets --locked -p polkadot-runtime-parachains
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- SKIP_WASM_BUILD=1 cargo +1.70 clippy --all-targets --locked -p polkadot-runtime-parachains
- rustup install 1.70 && SKIP_WASM_BUILD=1 cargo +1.70 clippy --all-targets --locked -p polkadot-runtime-parachains

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Obviously this is a shitty solution, but you now can debug from here why this is not working correctly in the docker without the rustup.

@alvicsam
Copy link
Contributor Author

superseded by #7625

@alvicsam alvicsam closed this Aug 15, 2023
@alvicsam alvicsam deleted the as-dbg-clippy branch August 15, 2023 14:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants