Remove CEF warnings about unused features and snake case names.

This commit is contained in:
Josh Matthews 2016-03-29 10:03:10 -04:00
parent 803f39df19
commit 03e3cb24b9
2 changed files with 1 additions and 1 deletions

View file

@ -4,7 +4,6 @@
#![feature(borrow_state)] #![feature(borrow_state)]
#![feature(box_syntax)] #![feature(box_syntax)]
#![feature(convert)]
#![feature(core_intrinsics)] #![feature(core_intrinsics)]
#![feature(filling_drop)] #![feature(filling_drop)]
#![feature(iter_arith)] #![feature(iter_arith)]

View file

@ -9,6 +9,7 @@
macro_rules! stub( macro_rules! stub(
($name:ident) => ( ($name:ident) => (
#[no_mangle] #[no_mangle]
#[allow(non_snake_case)]
pub extern "C" fn $name() { pub extern "C" fn $name() {
println!("CEF stub function called: {}", stringify!($name)); println!("CEF stub function called: {}", stringify!($name));
unsafe { unsafe {