_ an unused parameter

This commit is contained in:
Jonathan Keller
2026-08-30 22:51:51 -07:00
parent 5321a4f40c
commit f12defbd75

View File

@@ -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())
}