File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -77,17 +77,6 @@ macro_rules! dbghelp {
7777 // either read the cached function pointer or load it and return the
7878 // loaded value. Loads are asserted to succeed.
7979 $( pub fn $name( & mut self ) -> Option <$name> {
80- // Assert that windows_sys::$name is declared to have the same
81- // argument types and return type as our declaration, although
82- // it might be either extern "C" or extern "system".
83- cfg_if:: cfg_if! {
84- if #[ cfg( any( target_arch = "x86" , not( windows_raw_dylib) ) ) ] {
85- let _: unsafe extern "system" fn ( $( $argty) ,* ) -> $ret = super :: windows_sys:: $name;
86- } else {
87- let _: unsafe extern "C" fn ( $( $argty) ,* ) -> $ret = super :: windows_sys:: $name;
88- }
89- }
90-
9180 unsafe {
9281 if self . $name == 0 {
9382 let name = concat!( stringify!( $name) , "\0 " ) ;
You can’t perform that action at this time.
0 commit comments