Auto merge of #10269 - jdm:cefwarn, r=Ms2ger

Fix some warnings

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10269)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-03-30 08:44:37 +05:30
commit f6d60a716c
5 changed files with 4 additions and 4 deletions

View file

@ -990,7 +990,7 @@ dependencies = [
[[package]]
name = "js"
version = "0.1.2"
source = "git+https://github.com/servo/rust-mozjs#d88f289340ff32f0aa118e4621e250c0fa2f71e0"
source = "git+https://github.com/servo/rust-mozjs#a815f57fdfa66d2490c37ebcb5d0ea067256ec21"
dependencies = [
"heapsize 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",

2
ports/cef/Cargo.lock generated
View file

@ -909,7 +909,7 @@ dependencies = [
[[package]]
name = "js"
version = "0.1.2"
source = "git+https://github.com/servo/rust-mozjs#d88f289340ff32f0aa118e4621e250c0fa2f71e0"
source = "git+https://github.com/servo/rust-mozjs#a815f57fdfa66d2490c37ebcb5d0ea067256ec21"
dependencies = [
"heapsize 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",

View file

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

View file

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

2
ports/gonk/Cargo.lock generated
View file

@ -891,7 +891,7 @@ dependencies = [
[[package]]
name = "js"
version = "0.1.2"
source = "git+https://github.com/servo/rust-mozjs#d88f289340ff32f0aa118e4621e250c0fa2f71e0"
source = "git+https://github.com/servo/rust-mozjs#a815f57fdfa66d2490c37ebcb5d0ea067256ec21"
dependencies = [
"heapsize 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",