mirror of
https://github.com/openharmony/third_party_rust_libloading.git
synced 2026-07-19 21:23:39 -04:00
Fix documentation building on Windows
This commit is contained in:
+4
-2
@@ -1,7 +1,9 @@
|
||||
use super::Error;
|
||||
#[cfg(any(unix, docsrs))]
|
||||
#[cfg(docsrs)]
|
||||
use super::os::unix as imp; // the implementation used here doesn't matter particularly much...
|
||||
#[cfg(all(not(docsrs), unix))]
|
||||
use super::os::unix as imp;
|
||||
#[cfg(windows)]
|
||||
#[cfg(all(not(docsrs), windows))]
|
||||
use super::os::windows as imp;
|
||||
use std::ffi::OsStr;
|
||||
use std::fmt;
|
||||
|
||||
Reference in New Issue
Block a user