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

chore(bump parity-daemonize): require rust >= 1.31 #10359

Merged
merged 1 commit into from
Feb 18, 2019

Conversation

niklasad1
Copy link
Collaborator

@niklasad1 niklasad1 commented Feb 14, 2019

Bump parity-daemonize to make parity compile with rustc 1.31.0 or later.

Added a comment about a clone() that was necessary to make it compile however it shouldn't be needed AFAIK!

@@ -195,7 +197,9 @@ fn main_direct(force_can_restart: bool) -> i32 {
conf.args.arg_chain = spec_override;
}

let handle = if let Some(ref pid) = conf.args.arg_daemon_pid_file {
// FIXME: `pid_file` shouldn't need to cloned here
// see: `https://github.com/paritytech/parity-daemonize/pull/13` for more info
Copy link
Collaborator

Choose a reason for hiding this comment

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

It shouldn't be a big deal, since only only do this once at startup and this string the issually small.

@ordian ordian added A8-looksgood 🦄 Pull request is reviewed well. M4-core ⛓ Core client code / Rust. labels Feb 14, 2019
@ordian ordian added this to the 2.4 milestone Feb 14, 2019
@ordian ordian added the M5-dependencies 🖇 Dependencies. label Feb 14, 2019
@5chdn 5chdn merged commit aea289e into master Feb 18, 2019
@5chdn 5chdn deleted the bump-parity-daemonize-rust-1.31 branch February 18, 2019 12:38
ordian added a commit that referenced this pull request Apr 5, 2019
* master:
  Add message to IO errors (#10324)
  chore(bump parity-daemonize): require rust >= 1.31 (#10359)
  SecretStore: use in-memory transport in cluster tests (#9850)
  Add fields to `memzero`'s Cargo.toml (#10362)
  snap: release untagged versions from branches to the candidate snap channel (#10357)
  fix(compilation warns): `no-default-features` (#10346)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. M4-core ⛓ Core client code / Rust. M5-dependencies 🖇 Dependencies.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants