Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: fix srtool build #671

Merged
merged 2 commits into from Sep 25, 2022
Merged

build: fix srtool build #671

merged 2 commits into from Sep 25, 2022

Conversation

aliXsed
Copy link
Contributor

@aliXsed aliXsed commented Sep 20, 2022

I tested the change here: https://github.com/NodleCode/chain/actions/runs/3086849701. Without it we would get:

error[E0658]: use of unstable library feature 'vec_retain_mut'
--> /cargo-home/git/checkouts/substrate-7e08433d4c370a21/34a0621/client/transaction-pool/src/graph/validated_pool.rs:207:12
|
207 | sinks.retain_mut(|sink| match sink.try_send(*hash) {
| ^^^^^^^^^^
|
= note: see issue #90829 rust-lang/rust#90829 for more information
= help: add #![feature(vec_retain_mut)] to the crate attributes to enable

  ║ error[E0658]: use of unstable library feature 'vec_retain_mut'
  ║ --> /cargo-home/git/checkouts/substrate-7e08433d4c370a21/34a0621/client/transaction-pool/src/graph/validated_pool.rs:207:12
  ║ |
  ║ 207 | sinks.retain_mut(|sink| match sink.try_send(*hash) {
  ║ | ^^^^^^^^^^
  ║ |
  ║ = note: see issue #90829 <rust-lang/rust#90829> for more information
  ║ = help: add `#![feature(vec_retain_mut)]` to the crate attributes to enable
@codecov
Copy link

codecov bot commented Sep 20, 2022

Codecov Report

Merging #671 (b073e56) into master (2f2f668) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #671   +/-   ##
=======================================
  Coverage   89.60%   89.60%           
=======================================
  Files          33       33           
  Lines        6515     6515           
=======================================
  Hits         5838     5838           
  Misses        677      677           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@aliXsed aliXsed merged commit 88f21c5 into master Sep 25, 2022
@aliXsed aliXsed deleted the aliX/fix-srtool-build branch September 25, 2022 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants