Sha256: 9f974e041e35c8c7e29985d27ae5cd0858d68f8676d1dc005c6388d7d011707f

Contents?: true

Size: 1.01 KB

Versions: 38

Compression:

Stored size: 1.01 KB

Contents

#![allow(unused)]

macro_rules! log {
    (target: $target:expr, $lvl:expr, $($arg:tt)+) => {{
        let _ = $target;
        let _ = log!($lvl, $($arg)+);
    }};
    ($lvl:expr, $($arg:tt)+) => {{
        let _ = $lvl;
        let _ = format_args!($($arg)+);
    }};
}
macro_rules! error {
    (target: $target:expr, $($arg:tt)+) => { log!(target: $target, "", $($arg)+) };
    ($($arg:tt)+) => { log!("", $($arg)+) };
}
macro_rules! warn {
    (target: $target:expr, $($arg:tt)*) => { log!(target: $target, "", $($arg)*) };
    ($($arg:tt)*) => { log!("", $($arg)*) };
}
macro_rules! info {
    (target: $target:expr, $($arg:tt)+) => { log!(target: $target, "", $($arg)+) };
    ($($arg:tt)+) => { log!("", $($arg)+) };
}
macro_rules! debug {
    (target: $target:expr, $($arg:tt)+) => { log!(target: $target, "", $($arg)+) };
    ($($arg:tt)+) => { log!("", $($arg)+) };
}
macro_rules! trace {
    (target: $target:expr, $($arg:tt)+) => { log!(target: $target, "", $($arg)+) };
    ($($arg:tt)+) => { log!("", $($arg)+) };
}

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/bindgen-0.69.5/log_stubs.rs
wasmtime-28.0.0 ./ext/cargo-vendor/bindgen-0.69.5/log_stubs.rs
wasmtime-27.0.0 ./ext/cargo-vendor/bindgen-0.69.5/log_stubs.rs
wasmtime-26.0.0 ./ext/cargo-vendor/bindgen-0.69.5/log_stubs.rs
wasmtime-25.0.2 ./ext/cargo-vendor/bindgen-0.69.4/log_stubs.rs
wasmtime-25.0.1 ./ext/cargo-vendor/bindgen-0.69.4/log_stubs.rs
wasmtime-25.0.0 ./ext/cargo-vendor/bindgen-0.69.4/log_stubs.rs
wasmtime-24.0.0 ./ext/cargo-vendor/bindgen-0.69.4/log_stubs.rs
wasmtime-23.0.2 ./ext/cargo-vendor/bindgen-0.69.1/log_stubs.rs
wasmtime-22.0.0 ./ext/cargo-vendor/bindgen-0.69.1/log_stubs.rs
wasmtime-21.0.1 ./ext/cargo-vendor/bindgen-0.69.1/log_stubs.rs
wasmtime-20.0.2 ./ext/cargo-vendor/bindgen-0.69.1/log_stubs.rs
wasmtime-20.0.0 ./ext/cargo-vendor/bindgen-0.69.1/log_stubs.rs
wasmtime-18.0.3 ./ext/cargo-vendor/bindgen-0.69.1/log_stubs.rs
wasmtime-17.0.1 ./ext/cargo-vendor/bindgen-0.69.1/log_stubs.rs
wasmtime-17.0.0 ./ext/cargo-vendor/bindgen-0.69.1/log_stubs.rs
wasmtime-16.0.0 ./ext/cargo-vendor/bindgen-0.69.1/log_stubs.rs
wasmtime-15.0.1 ./ext/cargo-vendor/bindgen-0.69.1/log_stubs.rs
wasmtime-15.0.0 ./ext/cargo-vendor/bindgen-0.69.1/log_stubs.rs
wasmtime-14.0.4 ./ext/cargo-vendor/bindgen-0.66.1/log_stubs.rs