#[macro_use] extern crate lazy_static;
#[cfg(not(target_os = "windows"))]
extern crate which;
#[cfg(target_os = "windows")]
extern crate winapi;
pub mod internal;
#[cfg(not(target_os = "windows"))]
#[macro_export]
macro_rules! debug_here {
() => {
::debug_here::internal::debug_here_unixy_impl(None);
};
( gdb ) => {
::debug_here::internal::debug_here_unixy_impl(Some("rust-gdb"));
};
( lldb ) => {
::debug_here::internal::debug_here_unixy_impl(Some("rust-lldb"));
};
}
#[cfg(target_os = "windows")]
#[macro_export]
macro_rules! debug_here {
() => {
::debug_here::internal::debug_here_win_impl();
};
( gdb ) => {
compile_error!("debug-here: gdb is not supported on windows");
};
( lldb ) => {
compile_error!("debug-here: lldb is not supported on windows");
};
}