mirror of
https://github.com/allankoechke/rust.git
synced 2026-11-30 11:05:36 +00:00
_ an unused parameter
This commit is contained in:
@@ -258,7 +258,7 @@ pub unsafe fn dll_path(function: *mut std::ffi::c_void) -> Result<PathBuf, Strin
|
||||
}
|
||||
|
||||
#[cfg(target_os = "wasi")]
|
||||
pub unsafe fn dll_path(function: *mut std::ffi::c_void) -> Result<PathBuf, String> {
|
||||
pub unsafe fn dll_path(_function: *mut std::ffi::c_void) -> Result<PathBuf, String> {
|
||||
Err("dll_path is not supported on WASI".to_string())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user