Compare commits
3 Commits
4f48a519a9
...
feat/shape
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6bb301153a
|
||
|
|
02eee5f9bf
|
||
|
|
9271d3a7e4
|
@@ -37,7 +37,7 @@
|
||||
|
||||
const match = line.match(regex);
|
||||
if (!match) {
|
||||
return undefined;
|
||||
return;
|
||||
}
|
||||
|
||||
const [, sha, link, description] = match;
|
||||
|
||||
@@ -11,7 +11,7 @@ extern "C" {
|
||||
pub fn host_log(ptr: *const u8, len: usize);
|
||||
}
|
||||
|
||||
// #[cfg(debug_assertions)]
|
||||
#[cfg(debug_assertions)]
|
||||
#[macro_export]
|
||||
macro_rules! log {
|
||||
($($t:tt)*) => {{
|
||||
@@ -25,13 +25,13 @@ macro_rules! log {
|
||||
}}
|
||||
}
|
||||
|
||||
// #[cfg(not(debug_assertions))]
|
||||
// #[macro_export]
|
||||
// macro_rules! log {
|
||||
// ($($arg:tt)*) => {{
|
||||
// // This will expand to nothing in release builds
|
||||
// }};
|
||||
// }
|
||||
#[cfg(not(debug_assertions))]
|
||||
#[macro_export]
|
||||
macro_rules! log {
|
||||
($($arg:tt)*) => {{
|
||||
// This will expand to nothing in release builds
|
||||
}};
|
||||
}
|
||||
|
||||
#[allow(dead_code)]
|
||||
#[rustfmt::skip]
|
||||
|
||||
Reference in New Issue
Block a user