[go: up one dir, main page]

defmt 0.2.3

A highly efficient logging framework that targets resource-constrained devices, like microcontrollers
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[test]
fn ui() {
    // only test error messages on the stable channel (nightly may change too often)
    if rustc_version::version_meta()
        .map(|meta| meta.channel == rustc_version::Channel::Stable)
        .unwrap_or(false)
    {
        let t = trybuild::TestCases::new();
        t.compile_fail("tests/ui/*.rs");

        t.pass("tests/basic_usage.rs");
    }
}