Remove va_list submodule, format

This commit is contained in:
Jeremy Soller
2019-04-21 15:45:55 -06:00
parent b2cc25dd38
commit 7bde036031
27 changed files with 270 additions and 222 deletions
+2 -9
View File
@@ -193,10 +193,7 @@ impl Pal for Sys {
write!(proc_path, "{}", fildes).unwrap();
proc_path.push(0);
Self::readlink(
CStr::from_bytes_with_nul(&proc_path).unwrap(),
out
)
Self::readlink(CStr::from_bytes_with_nul(&proc_path).unwrap(), out)
}
fn fsync(fildes: c_int) -> c_int {
@@ -329,11 +326,7 @@ impl Pal for Sys {
#[cfg(target_arch = "x86_64")]
unsafe fn pte_clone(stack: *mut usize) -> pid_t {
let flags =
CLONE_VM |
CLONE_FS |
CLONE_FILES |
CLONE_SIGHAND;
let flags = CLONE_VM | CLONE_FS | CLONE_FILES | CLONE_SIGHAND;
let pid;
asm!("
# Call clone syscall