Matthias Krüger
fe54c3a5eb
Rollup merge of #142464 - RalfJung:variadic-fn-abi-error, r=workingjubilee
...
variadic functions: remove list of supported ABIs from error
I think this list is problematic for multiple reasons:
- It is bound to go out-of-date as it is in a very different place from where we actually define which functions support varagrs (`fn supports_varargs`).
- Many of the ABIs we list only work on some targets; it makes no sense to mention "aapcs" as a possible ABI when building for x86_64. (This led to a lot of confusion in https://github.com/rust-lang/rust/issues/110505 where the author thought they should use "cdecl" and then were promptly told that "cdecl" is not a legal ABI on their target.)
- Typically, when the programmer wrote `extern "foobar"`, it is because they need the "foobar" ABI. It is of little use to tell them that there are other ABIs with which varargs would work.
Cc ``@workingjubilee``
2025-06-14 11:27:11 +02:00
..
2024-10-17 12:07:19 +02:00
2024-08-19 21:39:57 +02:00
2024-11-23 08:57:25 -07:00
2024-12-23 22:15:32 +00:00
2024-12-23 22:15:32 +00:00
2024-12-23 22:15:32 +00:00
2024-12-23 22:15:32 +00:00
2024-12-23 22:15:32 +00:00
2024-12-23 22:15:32 +00:00
2024-12-27 19:58:16 +11:00
2024-09-15 09:51:32 +02:00
2025-02-21 00:41:17 +00:00
2025-02-10 20:21:39 +00:00
2025-05-23 12:20:35 +00:00
2025-05-23 12:20:35 +00:00
2025-02-10 20:21:39 +00:00
2025-06-13 18:10:06 +02:00
2024-08-10 00:54:16 +00:00
2025-02-10 20:21:39 +00:00
2025-02-21 00:41:17 +00:00
2025-02-21 00:41:17 +00:00
2025-02-21 00:41:17 +00:00
2025-04-08 23:06:31 +03:00
2024-09-09 19:39:43 -07:00
2024-09-09 19:39:43 -07:00
2024-09-09 19:39:43 -07:00
2024-09-09 19:39:43 -07:00
2024-09-09 19:39:43 -07:00
2024-09-09 19:39:43 -07:00
2025-06-02 15:37:15 +00:00
2025-06-07 13:42:30 +02:00
2024-10-19 09:44:37 +00:00
2024-10-19 09:44:37 +00:00
2025-02-24 14:31:19 +01:00
2025-04-06 21:41:47 +02:00
2025-04-06 21:41:47 +02:00
2025-02-24 07:53:59 +01:00
2025-02-24 07:53:59 +01:00
2025-04-30 10:44:24 +03:00
2025-04-30 10:44:24 +03:00
2024-07-22 22:04:49 +00:00
2024-07-22 22:51:53 +00:00
2024-09-26 17:17:11 +00:00
2025-02-10 20:21:39 +00:00
2025-03-12 16:56:26 +00:00
2025-04-13 21:48:53 +03:00
2025-04-13 21:48:53 +03:00
2024-12-27 19:58:16 +11:00
2025-06-13 01:16:36 +02:00
2025-06-13 01:16:36 +02:00
2025-03-14 19:50:03 +00:00
2025-04-08 23:06:31 +03:00
2025-05-07 18:12:54 +00:00
2025-05-07 18:12:54 +00:00
2024-08-23 23:00:45 +00:00
2024-08-23 23:00:45 +00:00
2025-02-10 20:21:39 +00:00
2025-02-10 20:21:39 +00:00
2025-05-06 17:04:03 +02:00
2025-01-15 01:26:24 +00:00
2025-01-06 17:58:30 +00:00
2024-07-18 00:00:04 +00:00
2024-07-18 00:00:04 +00:00
2024-07-18 00:00:04 +00:00
2025-02-21 00:54:01 +00:00
2025-02-21 00:54:01 +00:00
2025-04-08 23:06:31 +03:00
2025-04-08 23:06:31 +03:00
2025-03-04 00:21:02 +08:00
2025-03-04 00:21:02 +08:00
2024-10-29 16:26:57 +00:00
2024-10-29 16:26:57 +00:00
2025-02-10 20:21:39 +00:00
2025-02-24 07:53:59 +01:00
2025-02-24 07:53:59 +01:00
2025-02-24 19:34:54 +00:00
2025-02-24 19:34:54 +00:00
2025-03-15 10:52:07 -06:00
2025-03-15 10:52:07 -06:00
2025-01-24 04:07:10 +00:00
2025-02-10 20:21:39 +00:00
2025-04-30 10:44:24 +03:00
2025-04-30 10:44:24 +03:00
2025-01-24 01:19:50 +00:00
2025-02-10 20:21:39 +00:00
2025-01-18 20:33:15 +00:00
2024-12-23 20:25:41 +00:00
2024-12-23 20:25:41 +00:00
2025-02-03 19:43:24 +00:00
2025-03-04 00:21:02 +08:00
2025-02-03 19:38:52 +00:00
2025-03-04 00:21:02 +08:00
2024-07-26 14:41:56 -04:00
2024-07-26 14:41:56 -04:00
2025-02-27 12:22:59 +01:00
2025-02-27 12:22:59 +01:00
2025-04-08 23:06:31 +03:00
2025-02-10 20:21:39 +00:00
2025-02-03 19:38:52 +00:00
2025-03-04 00:21:02 +08:00
2025-02-24 14:31:19 +01:00
2025-03-06 12:53:35 +01:00
2025-04-08 23:06:31 +03:00
2024-07-18 20:08:38 +00:00
2025-04-13 21:48:53 +03:00
2024-08-31 14:00:54 +00:00
2025-06-06 20:52:34 +00:00
2025-04-08 23:06:31 +03:00
2024-10-04 14:06:48 +02:00
2025-02-25 16:56:04 +00:00
2024-11-29 00:45:14 +01:00
2024-11-29 20:49:06 +01:00
2025-06-06 20:52:34 +00:00
2025-02-10 20:21:39 +00:00
2025-02-10 20:21:39 +00:00
2025-06-02 11:02:50 +02:00
2025-06-02 11:02:50 +02:00
2025-05-28 15:14:34 +01:00
2025-05-28 15:14:34 +01:00
2025-06-03 10:13:33 +02:00
2025-06-03 10:13:33 +02:00
2025-02-10 20:21:39 +00:00
2025-02-28 20:43:15 +00:00
2025-02-24 14:31:19 +01:00
2025-02-24 14:31:19 +01:00
2024-08-02 03:22:56 +00:00
2024-09-16 10:56:22 -04:00
2024-09-16 10:56:22 -04:00
2024-09-16 10:56:22 -04:00
2024-09-16 10:56:22 -04:00
2025-02-10 20:21:39 +00:00