Nathaniel McCallum
9c0147c02d
Disable unused variable lint for naked functions
...
In most calling conventions, accessing function parameters may require
stack access. However, naked functions have no assembly prelude to set
up stack access. This is why naked functions may only contain a single
`asm!()` block. All parameter access is done inside the `asm!()` block,
so we cannot validate the liveness of the input parameters. Therefore,
we should disable the lint for naked functions.
rust-lang/rfcs#2774
rust-lang/rfcs#2972
2021-08-04 15:30:10 -04:00
..
2021-07-29 14:56:05 -07:00
2021-07-29 14:56:05 -07:00
2021-07-29 14:56:05 -07:00
2021-08-02 05:49:17 +00:00
2021-08-02 09:36:54 -05:00
2021-07-29 14:56:05 -07:00
2021-08-02 05:49:17 +00:00
2021-07-29 14:56:05 -07:00
2021-07-29 14:56:05 -07:00
2021-08-03 16:58:56 +00:00
2021-08-02 05:49:17 +00:00
2021-08-04 08:05:56 +09:00
2021-07-29 14:56:05 -07:00
2021-08-02 05:49:17 +00:00
2021-08-02 05:49:17 +00:00
2021-08-04 10:48:30 +02:00
2021-08-03 10:40:52 -07:00
2021-08-02 09:36:49 -05:00
2021-07-29 14:56:05 -07:00
2021-07-29 14:56:05 -07:00
2021-08-02 05:49:17 +00:00
2021-08-02 05:49:17 +00:00
2021-07-29 14:56:05 -07:00
2021-07-29 14:56:05 -07:00
2021-08-03 20:05:50 +09:00
2021-07-29 14:56:05 -07:00
2021-08-02 05:49:17 +00:00
2021-08-04 07:17:25 +00:00
2021-08-04 07:17:25 +00:00
2021-08-02 05:49:17 +00:00
2021-08-02 05:49:17 +00:00
2021-07-29 14:56:05 -07:00
2021-08-04 02:04:04 +00:00
2021-08-04 08:05:54 +09:00
2021-08-03 19:07:43 +09:00
2021-08-04 07:17:25 +00:00
2021-07-29 14:56:05 -07:00
2021-08-04 15:30:10 -04:00
2021-07-29 14:56:05 -07:00
2021-08-04 02:04:04 +00:00
2021-08-03 16:58:56 +00:00
2021-08-02 05:49:17 +00:00
2021-08-02 05:49:17 +00:00
2021-08-04 02:04:04 +00:00
2021-07-29 14:56:05 -07:00
2021-08-02 05:49:17 +00:00
2021-08-03 04:50:28 +00:00
2021-08-02 05:49:17 +00:00
2021-08-02 05:49:17 +00:00
2021-08-03 19:48:54 +00:00
2021-08-02 05:49:17 +00:00
2021-07-29 14:56:05 -07:00
2021-07-29 14:56:05 -07:00
2021-08-03 13:23:31 +00:00