mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
Auto merge of #26071 - servo:rustup, r=nox
Upgrade to rustc 1.44.0-nightly (42abbd887 2020-04-07) ~Blocked on https://github.com/rust-lang/rust/issues/70280~
This commit is contained in:
commit
9fd668488e
13 changed files with 40 additions and 56 deletions
|
@ -90,7 +90,7 @@ impl EventsLoop {
|
|||
}
|
||||
EventLoop::Headless(ref data) => {
|
||||
let &(ref flag, ref condvar) = &**data;
|
||||
while { !*flag.lock().unwrap() } {
|
||||
while !*flag.lock().unwrap() {
|
||||
self.sleep(flag, condvar);
|
||||
if callback(glutin::Event::Awakened) == glutin::ControlFlow::Break {
|
||||
break;
|
||||
|
|
|
@ -37,7 +37,7 @@ extern "C" fn default_panic_handler(msg: *const c_char) {
|
|||
lazy_static! {
|
||||
static ref ON_PANIC: RwLock<extern "C" fn(*const c_char)> = RwLock::new(default_panic_handler);
|
||||
static ref SERVO_VERSION: CString =
|
||||
{ CString::new(simpleservo::servo_version()).expect("Can't create string") };
|
||||
CString::new(simpleservo::servo_version()).expect("Can't create string");
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue