chore: add vendor dependencies for kauma build
This commit is contained in:
parent
7c94e5d8fb
commit
067ef6141c
1758 changed files with 398473 additions and 0 deletions
20
vendor/memchr/src/macros.rs
vendored
Normal file
20
vendor/memchr/src/macros.rs
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
// Some feature combinations result in some of these macros never being used.
|
||||
// Which is fine. Just squash the warnings.
|
||||
#![allow(unused_macros)]
|
||||
|
||||
macro_rules! log {
|
||||
($($tt:tt)*) => {
|
||||
#[cfg(feature = "logging")]
|
||||
{
|
||||
$($tt)*
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
macro_rules! debug {
|
||||
($($tt:tt)*) => { log!(log::debug!($($tt)*)) }
|
||||
}
|
||||
|
||||
macro_rules! trace {
|
||||
($($tt:tt)*) => { log!(log::trace!($($tt)*)) }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue