Sha256: 8ffb89912304ecbf3d714dcc094f42e86fdd0738625b2e76be2e7d59ab0736cf

Contents?: true

Size: 392 Bytes

Versions: 38

Compression:

Stored size: 392 Bytes

Contents

extern crate psm;

psm::psm_stack_information! {
    yes {
        fn main() {
            println!("Stack is {:?} and is at {:p} currently",
                     psm::StackDirection::new(), psm::stack_pointer());
        }
    }
    no {
        fn main() {
            eprintln!("Stack information not supported by this target");
        }
    }
}

#[test]
fn run_example() {
    main();
}

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/psm-0.1.24/examples/info.rs
wasmtime-28.0.0 ./ext/cargo-vendor/psm-0.1.24/examples/info.rs
wasmtime-27.0.0 ./ext/cargo-vendor/psm-0.1.24/examples/info.rs
wasmtime-26.0.0 ./ext/cargo-vendor/psm-0.1.23/examples/info.rs
wasmtime-25.0.2 ./ext/cargo-vendor/psm-0.1.21/examples/info.rs
wasmtime-25.0.1 ./ext/cargo-vendor/psm-0.1.21/examples/info.rs
wasmtime-25.0.0 ./ext/cargo-vendor/psm-0.1.21/examples/info.rs
wasmtime-24.0.0 ./ext/cargo-vendor/psm-0.1.21/examples/info.rs
wasmtime-23.0.2 ./ext/cargo-vendor/psm-0.1.21/examples/info.rs
wasmtime-22.0.0 ./ext/cargo-vendor/psm-0.1.21/examples/info.rs
wasmtime-21.0.1 ./ext/cargo-vendor/psm-0.1.21/examples/info.rs
wasmtime-20.0.2 ./ext/cargo-vendor/psm-0.1.21/examples/info.rs
wasmtime-20.0.0 ./ext/cargo-vendor/psm-0.1.21/examples/info.rs
wasmtime-18.0.3 ./ext/cargo-vendor/psm-0.1.21/examples/info.rs
wasmtime-17.0.1 ./ext/cargo-vendor/psm-0.1.21/examples/info.rs
wasmtime-17.0.0 ./ext/cargo-vendor/psm-0.1.21/examples/info.rs
wasmtime-16.0.0 ./ext/cargo-vendor/psm-0.1.21/examples/info.rs
wasmtime-15.0.1 ./ext/cargo-vendor/psm-0.1.21/examples/info.rs
wasmtime-15.0.0 ./ext/cargo-vendor/psm-0.1.21/examples/info.rs
wasmtime-14.0.4 ./ext/cargo-vendor/psm-0.1.21/examples/info.rs