mirror of
https://github.com/openharmony/third_party_rust_libloading.git
synced 2026-07-20 05:34:25 -04:00
Remove a wrong claim about windows search path
On windows systems the library search path may be adjusted portably (though thread-unsafely) with SetDllDirectory
This commit is contained in:
@@ -18,9 +18,6 @@ unsafe impl ::std::marker::Send for Library {}
|
||||
impl Library {
|
||||
/// Find and load a shared library (module).
|
||||
///
|
||||
/// Locations where library is searched for is platform specific and can’t be adjusted
|
||||
/// portably.
|
||||
///
|
||||
/// Corresponds to `LoadLibraryW(filename)`.
|
||||
#[inline]
|
||||
pub fn new<P: AsRef<OsStr>>(filename: P) -> ::Result<Library> {
|
||||
|
||||
Reference in New Issue
Block a user