Currently backtrace depends on something else to link kernel32.lib, which is usually a safe assumption. However, it may become more of a problem once raw-dylib is stable and used by the standard library and other crates.
Using #[link] also allows calling into the function directly instead of going through a jump stub.
Currently backtrace depends on something else to link
kernel32.lib
, which is usually a safe assumption. However, it may become more of a problem once raw-dylib is stable and used by the standard library and other crates.Using
#[link]
also allows calling into the function directly instead of going through a jump stub.