Restored rust-toolchain

This commit is contained in:
arkpar 2017-10-30 08:05:44 +01:00
parent 4c101c974d
commit 38652bd296
No known key found for this signature in database
GPG Key ID: CF9ADE6B115EB4DD
2 changed files with 3 additions and 0 deletions

View File

@ -304,6 +304,8 @@ pub fn new_ipc<D: rpc_apis::Dependencies>(
let handler = setup_apis(conf.apis, dependencies);
let remote = dependencies.remote.clone();
let path = PathBuf::from(&conf.socket_addr);
// Make sure socket file can be created on unix-like OS.
// Windows pipe paths are not on the FS.
if !cfg!(windows) {
if let Some(dir) = path.parent() {
::std::fs::create_dir_all(&dir)

1
rust-toolchain Normal file
View File

@ -0,0 +1 @@
stable