Fix compatibility with LLD

Ensure the runtime library is always at least linked as it has important symbols
that we'll use later.
This commit is contained in:
Alex Crichton
2018-02-10 10:06:56 -08:00
parent 75837925e9
commit f3c0fc369a
2 changed files with 5 additions and 1 deletions

View File

@ -435,4 +435,6 @@ pub mod __rt {
pub unsafe extern fn __wbindgen_boxed_str_free(ptr: *mut String) {
drop(Box::from_raw(ptr));
}
pub fn link_this_library() {}
}