]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/unstable/dynamic_lib.rs
Find the cratemap at runtime on windows.
[rust.git] / src / libstd / unstable / dynamic_lib.rs
index 4c92d9c2e362c5272edbaf4e3e2bb399db614140..41ff79bc8845815db4eda5382c676bb04473eb62 100644 (file)
@@ -138,7 +138,7 @@ fn test_errors_do_not_crash() {
 #[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 @@ pub enum RTLD {
 }
 
 #[cfg(target_os = "win32")]
-mod dl {
+pub mod dl {
     use os;
     use libc;
     use path;