diff options
author | alexmoon <alex.r.moon@gmail.com> | 2022-07-14 16:08:00 -0400 |
---|---|---|
committer | alexmoon <alex.r.moon@gmail.com> | 2022-07-14 16:08:00 -0400 |
commit | a3678380859f94c40d55d662e3b096d36e2e8e0f (patch) | |
tree | 18991ab8cdacf7d7aaade6e7ce7d520626967c52 /nrf-softdevice-gen | |
parent | ee22e26594b99b04fbd3ab56cf677fdfa74ea42a (diff) | |
download | nrf-softdevice-a3678380859f94c40d55d662e3b096d36e2e8e0f.zip |
Update binding generation to suppress clippy warnings
Diffstat (limited to 'nrf-softdevice-gen')
-rw-r--r-- | nrf-softdevice-gen/src/main.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nrf-softdevice-gen/src/main.rs b/nrf-softdevice-gen/src/main.rs index 3fa2c27..4caabb0 100644 --- a/nrf-softdevice-gen/src/main.rs +++ b/nrf-softdevice-gen/src/main.rs @@ -196,6 +196,13 @@ static HEADER: &str = r#" * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#![allow( + clippy::fn_to_numeric_cast, + clippy::missing_safety_doc, + clippy::redundant_static_lifetimes, + clippy::useless_transmute +)] + pub type c_schar = i8; pub type c_uchar = u8; pub type c_char = u8; |