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.
extern "system"
1 parent f2bcf65 commit ec76819Copy full SHA for ec76819
1 file changed
src/dbghelp.rs
@@ -77,17 +77,6 @@ macro_rules! dbghelp {
77
// either read the cached function pointer or load it and return the
78
// loaded value. Loads are asserted to succeed.
79
$(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
-
91
unsafe {
92
if self.$name == 0 {
93
let name = concat!(stringify!($name), "\0");
0 commit comments