Skip to content

Commit d7ced65

Browse files
committed
fix clippy
Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
1 parent 9ffb3db commit d7ced65

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

src/hyperlight_libc/src/lib.rs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,16 @@ limitations under the License.
2121
//! C library types and functions.
2222
2323
#![no_std]
24-
#![allow(non_upper_case_globals)]
25-
#![allow(non_camel_case_types)]
26-
#![allow(non_snake_case)]
27-
#![allow(dead_code)]
28-
#![allow(clippy::missing_safety_doc)]
2924
#![allow(clippy::approx_constant)]
30-
#![allow(clippy::useless_transmute)]
25+
#![allow(clippy::missing_safety_doc)]
3126
#![allow(clippy::unnecessary_cast)]
27+
#![allow(clippy::useless_transmute)]
28+
#![allow(dead_code)]
3229
#![allow(improper_ctypes)]
30+
#![allow(non_camel_case_types)]
31+
#![allow(non_snake_case)]
32+
#![allow(non_upper_case_globals)]
33+
#![allow(unpredictable_function_pointer_comparisons)]
3334

3435
// Include the generated bindings
3536
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));

0 commit comments

Comments
 (0)