all: split reusable components into workspace crates
This commit is contained in:
parent
2a079ed800
commit
657e7ce2f7
225 changed files with 7422 additions and 17602 deletions
|
|
@ -28,7 +28,6 @@ use {
|
|||
},
|
||||
},
|
||||
ahash::AHashMap,
|
||||
isnt::std_1::primitive::IsntSliceExt,
|
||||
std::{
|
||||
cell::{Cell, RefCell},
|
||||
collections::VecDeque,
|
||||
|
|
@ -149,11 +148,7 @@ impl ToolClient {
|
|||
Ok(d) => d,
|
||||
Err(_) => return Err(ToolClientError::WaylandDisplayNotSet),
|
||||
};
|
||||
let mut path = format_ustr!("{}/{}", xrd, wd);
|
||||
let suffix = b".jay";
|
||||
if path.not_ends_with(suffix) {
|
||||
path.push(suffix.as_slice());
|
||||
}
|
||||
let path = format_ustr!("{}/{}", xrd, wd);
|
||||
let socket = uapi::socket(c::AF_UNIX, c::SOCK_STREAM | c::SOCK_CLOEXEC, 0)
|
||||
.map(Rc::new)
|
||||
.map_os_err(ToolClientError::CreateSocket)?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue