Restored rust-toolchain
This commit is contained in:
parent
4c101c974d
commit
38652bd296
@ -304,6 +304,8 @@ pub fn new_ipc<D: rpc_apis::Dependencies>(
|
|||||||
let handler = setup_apis(conf.apis, dependencies);
|
let handler = setup_apis(conf.apis, dependencies);
|
||||||
let remote = dependencies.remote.clone();
|
let remote = dependencies.remote.clone();
|
||||||
let path = PathBuf::from(&conf.socket_addr);
|
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 !cfg!(windows) {
|
||||||
if let Some(dir) = path.parent() {
|
if let Some(dir) = path.parent() {
|
||||||
::std::fs::create_dir_all(&dir)
|
::std::fs::create_dir_all(&dir)
|
||||||
|
1
rust-toolchain
Normal file
1
rust-toolchain
Normal file
@ -0,0 +1 @@
|
|||||||
|
stable
|
Loading…
Reference in New Issue
Block a user