Find the cratemap at runtime on windows.
This commit is contained in:
parent
2d22c0c8e4
commit
20a10ff9c9
3 changed files with 51 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue