libstd: Fix a bunch of resolve errors in tests. rs=fire
This commit is contained in:
@@ -152,7 +152,8 @@ pub unsafe fn ptr<T>(t: CVec<T>) -> *mut T {
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use libc::*;
|
||||
use core::libc::*;
|
||||
use core::libc;
|
||||
|
||||
fn malloc(n: size_t) -> CVec<u8> {
|
||||
let mem = libc::malloc(n);
|
||||
|
||||
Reference in New Issue
Block a user