rust/tests
bors 3854a76ace Auto merge of #1970 - asquared31415:open_unix_varargs, r=RalfJung
Allow varargs for libc::open when it is allowed by the second argument

This PR allows `libc::open` to be called using two or three arguments as defined in https://man7.org/linux/man-pages/man2/open.2.html

The presence of the third argument depends on the value of the second argument.  If the second argument dictates that the third argument is *required* miri will emit an error if the argument is missing.  If the second argument does *not* require a third argument, then the argument is ignored and passed as 0 internally (it would be ignored by libc anyway)
2022-03-05 22:47:51 +00:00
..
compile-fail Auto merge of #1970 - asquared31415:open_unix_varargs, r=RalfJung 2022-03-05 22:47:51 +00:00
run-pass Auto merge of #1970 - asquared31415:open_unix_varargs, r=RalfJung 2022-03-05 22:47:51 +00:00
compiletest.rs Use harness = false instead of #![feature(custom_test_frameworks)] 2021-05-01 22:28:33 +08:00