Sha256: bd3efa727d6b3016718df7c6588cee0b867c49c52380e02f99947d268e36dbe0

Contents?: true

Size: 348 Bytes

Versions: 37

Compression:

Stored size: 348 Bytes

Contents

#[cfg(feature = "logging")]
macro_rules! log {
    ( $fmt:expr ) => {
        println!($fmt);
    };
    ( $fmt:expr, $($x:tt)* ) => {
        println!($fmt, $($x)*);
    }
}

#[cfg(not(feature = "logging"))]
macro_rules! log {
    ( $fmt:expr ) => {};
    ( $fmt:expr, $($x:tt)* ) => {
        if false { let _ = format!($fmt, $($x)*); }
    };
}

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
wasmtime-28.0.0 ./ext/cargo-vendor/cpp_demangle-0.4.4/src/logging.rs
wasmtime-27.0.0 ./ext/cargo-vendor/cpp_demangle-0.4.4/src/logging.rs
wasmtime-26.0.0 ./ext/cargo-vendor/cpp_demangle-0.4.4/src/logging.rs
wasmtime-25.0.2 ./ext/cargo-vendor/cpp_demangle-0.4.3/src/logging.rs
wasmtime-25.0.1 ./ext/cargo-vendor/cpp_demangle-0.4.3/src/logging.rs
wasmtime-25.0.0 ./ext/cargo-vendor/cpp_demangle-0.4.3/src/logging.rs
wasmtime-24.0.0 ./ext/cargo-vendor/cpp_demangle-0.4.3/src/logging.rs
wasmtime-23.0.2 ./ext/cargo-vendor/cpp_demangle-0.4.3/src/logging.rs
wasmtime-22.0.0 ./ext/cargo-vendor/cpp_demangle-0.4.3/src/logging.rs
wasmtime-21.0.1 ./ext/cargo-vendor/cpp_demangle-0.4.3/src/logging.rs
wasmtime-20.0.2 ./ext/cargo-vendor/cpp_demangle-0.4.3/src/logging.rs
wasmtime-20.0.0 ./ext/cargo-vendor/cpp_demangle-0.4.3/src/logging.rs
wasmtime-18.0.3 ./ext/cargo-vendor/cpp_demangle-0.3.5/src/logging.rs
wasmtime-17.0.1 ./ext/cargo-vendor/cpp_demangle-0.3.5/src/logging.rs
wasmtime-17.0.0 ./ext/cargo-vendor/cpp_demangle-0.3.5/src/logging.rs
wasmtime-16.0.0 ./ext/cargo-vendor/cpp_demangle-0.3.5/src/logging.rs
wasmtime-15.0.1 ./ext/cargo-vendor/cpp_demangle-0.3.5/src/logging.rs
wasmtime-15.0.0 ./ext/cargo-vendor/cpp_demangle-0.3.5/src/logging.rs
wasmtime-14.0.4 ./ext/cargo-vendor/cpp_demangle-0.3.5/src/logging.rs
wasmtime-14.0.3 ./ext/cargo-vendor/cpp_demangle-0.3.5/src/logging.rs