wasmtime-wasi-c: allow(non_snake_case) to suppress warnings on consecutive underscores (#461)
wasmtime-wasi-c contains many bindgen-generated symbols like bindgen_test_layout___wasi_event_t___wasi_event_u___wasi_event_u_fd_readwrite_t that contain triple-underscores in them. rustc doesn't consider those names snake-case and generates extensive warnings about them. Suppress those warnings with allow(non_snake_case).
This commit is contained in:
committed by
Till Schneidereit
parent
3053444b57
commit
f27e0ad53c
@@ -1,4 +1,4 @@
|
|||||||
#![allow(non_camel_case_types, dead_code)]
|
#![allow(non_camel_case_types, non_snake_case, dead_code)]
|
||||||
|
|
||||||
include!(concat!(env!("OUT_DIR"), "/wasmtime_ssp.rs"));
|
include!(concat!(env!("OUT_DIR"), "/wasmtime_ssp.rs"));
|
||||||
|
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
//! and to
|
//! and to
|
||||||
|
|
||||||
#![allow(non_camel_case_types)]
|
#![allow(non_camel_case_types)]
|
||||||
|
#![allow(non_snake_case)]
|
||||||
#![allow(dead_code)]
|
#![allow(dead_code)]
|
||||||
|
|
||||||
// C types
|
// C types
|
||||||
|
|||||||
Reference in New Issue
Block a user