From 83e605d2fb3ec0bf56b6e803b698952550a62893 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Tue, 19 May 2015 15:53:18 -0400 Subject: [PATCH] add no_mangle to servo_test() embedding function --- ports/cef/eutil.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/ports/cef/eutil.rs b/ports/cef/eutil.rs index 1291a7dce09..39b30cfa481 100644 --- a/ports/cef/eutil.rs +++ b/ports/cef/eutil.rs @@ -77,6 +77,7 @@ pub unsafe fn add_ref(c_object: *mut cef_base_t) { ((*c_object).add_ref.unwrap())(c_object); } +#[no_mangle] pub extern "C" fn servo_test() -> c_int { 1 }