rust/tests/compile-fail
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
..
2021-11-01 16:12:38 -07:00
2021-05-08 15:33:27 +08:00
2022-02-25 12:06:10 -05:00
2021-03-04 07:48:28 -05:00
2021-10-05 13:13:06 -07:00
2021-01-31 13:12:25 +01:00
2021-05-03 10:08:42 -04:00
2021-04-25 16:57:48 +02:00
2020-06-20 11:48:42 +02:00
2020-05-07 08:38:59 +02:00
2020-07-23 15:56:38 +02:00
2020-07-09 17:21:09 +02:00
2020-04-25 11:12:50 +02:00
2021-02-23 09:23:49 +01:00
2020-05-22 17:03:25 +02:00
2021-11-10 11:36:42 -08:00
2021-06-06 10:33:46 +02:00
2021-07-16 10:10:12 +02:00
2021-03-25 12:44:30 +01:00
2021-07-16 10:10:12 +02:00