We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdf5236 commit d117c77Copy full SHA for d117c77
example/raw-dylib.rs
@@ -5,7 +5,7 @@ fn main() {
5
#[cfg(windows)]
6
{
7
#[link(name = "kernel32", kind = "raw-dylib")]
8
- extern "C" {
+ unsafe extern "C" {
9
fn GetModuleFileNameA(
10
module: *mut std::ffi::c_void,
11
filename: *mut u8,
0 commit comments