Find the cratemap at runtime on windows.

This commit is contained in:
Luqman Aden
2013-09-21 19:48:12 -07:00
committed by Luqman Aden
parent 2d22c0c8e4
commit 20a10ff9c9
3 changed files with 51 additions and 5 deletions

View File

@@ -138,7 +138,7 @@ mod test {
#[cfg(target_os = "android")]
#[cfg(target_os = "macos")]
#[cfg(target_os = "freebsd")]
mod dl {
pub mod dl {
use c_str::ToCStr;
use libc;
use path;
@@ -207,7 +207,7 @@ mod dl {
}
#[cfg(target_os = "win32")]
mod dl {
pub mod dl {
use os;
use libc;
use path;