mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +00:00
Auto merge of #79196 - RalfJung:syscall, r=m-ou-se
unix/weak: pass arguments to syscall at the given type Given that we know the type the argument should have, it seems a bit strange not to use that information. r? `@m-ou-se` `@cuviper`
This commit is contained in:
commit
172acf8f61
@ -135,7 +135,7 @@ macro_rules! syscall {
|
||||
} else {
|
||||
syscall(
|
||||
concat_idents!(SYS_, $name),
|
||||
$($arg_name as c_long),*
|
||||
$($arg_name),*
|
||||
) as $ret
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user