diff options
| author | Marvin Löbel <loebel.marvin@gmail.com> | 2013-12-06 22:23:23 +0100 |
|---|---|---|
| committer | Marvin Löbel <loebel.marvin@gmail.com> | 2013-12-06 22:29:02 +0100 |
| commit | 142eb685f913e15494bfab9ec142e40f6bf92cc4 (patch) | |
| tree | c68d74020eccd2bdd120ac48cb79898ec79bf3d0 /src/libstd/rt | |
| parent | aa4455e4c76598fcf6de84de14f050a700a2a14e (diff) | |
| download | rust-142eb685f913e15494bfab9ec142e40f6bf92cc4.tar.gz rust-142eb685f913e15494bfab9ec142e40f6bf92cc4.zip | |
Made Results API more composable
Diffstat (limited to 'src/libstd/rt')
| -rw-r--r-- | src/libstd/rt/local_ptr.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/rt/local_ptr.rs b/src/libstd/rt/local_ptr.rs index 803938589af..bff9390ee3b 100644 --- a/src/libstd/rt/local_ptr.rs +++ b/src/libstd/rt/local_ptr.rs @@ -48,6 +48,7 @@ pub unsafe fn borrow<T>(f: |&mut T|) { /// it wherever possible. #[cfg(not(windows), not(target_os = "android"))] pub mod compiled { + #[cfg(not(test))] use libc::c_void; use cast; use option::{Option, Some, None}; |
