mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-15 17:15:42 +00:00
Prepare UI tests for rust 1.55 (#9637)
* Prepare UI tests for rust 1.54 * Delete wrong_page.stderr * CI: run with a staging CI image * Revert "CI: run with a staging CI image" This reverts commit 66f5b00d14b50fd9d8fbf773f7e884f380697591. * CI: debug, again * LOG_TARGET is only used in std * Remove unnecessary unsafe * Fixes * Use correct rustc locally * FMT * Compile with benchmarking * Review feedback * Some ui tests * I know... * Fix wasm tests Co-authored-by: Denis P <denis.pisarev@parity.io> Co-authored-by: thiolliere <gui.thiolliere@gmail.com>
This commit is contained in:
@@ -55,11 +55,19 @@ pub use tracing::trace;
|
||||
#[cfg(not(feature = "std"))]
|
||||
#[macro_export]
|
||||
macro_rules! warn {
|
||||
(target: $target:expr, $($arg:tt)+) => {
|
||||
()
|
||||
(target: $target:expr, $message:expr $( , $arg:ident )* $( , )?) => {
|
||||
{
|
||||
$(
|
||||
let _ = &$arg;
|
||||
)*
|
||||
}
|
||||
};
|
||||
($($arg:tt)+) => {
|
||||
()
|
||||
($message:expr, $( $arg:expr, )*) => {
|
||||
{
|
||||
$(
|
||||
let _ = &$arg;
|
||||
)*
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -68,11 +76,12 @@ macro_rules! warn {
|
||||
#[cfg(not(feature = "std"))]
|
||||
#[macro_export]
|
||||
macro_rules! debug {
|
||||
(target: $target:expr, $($arg:tt)+) => {
|
||||
()
|
||||
};
|
||||
($($arg:tt)+) => {
|
||||
()
|
||||
(target: $target:expr, $message:expr $( , $arg:ident )* $( , )?) => {
|
||||
{
|
||||
$(
|
||||
let _ = &$arg;
|
||||
)*
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user