Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to rustc 1.7.0-nightly (b4707ebca 2015-12-27) #9093

Merged
merged 6 commits into from Jan 15, 2016

Workaround to land the rustup while we wait for rust-errno

  • Loading branch information
larsbergstrom committed Jan 15, 2016
commit 5bf2ae81a5e49f04eb3549c01d05abec76117636
@@ -252,3 +252,12 @@ pub fn run_content_process(token: String) {
script::script_thread::ScriptThread>(true);
}

// This is a workaround for https://github.com/rust-lang/rust/pull/30175 until
// https://github.com/lfairy/rust-errno/pull/5 lands, and should be removed once
// we update Servo with the rust-errno crate.
#[cfg(target_os = "android")]
#[no_mangle]
pub unsafe extern fn __errno_location() -> *mut i32 {
extern { fn __errno() -> *mut i32; }
__errno()
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.