Skip to content

Examples don't build #42

@bobgates

Description

@bobgates

Running Rust 1.82, just cloned the repository and ran cargo run --example cpu-monitor

The error that follows is for cpu-monitor, but split-chart has the same error.

/Users/xxxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-core-0.7.1/src/device/mod.rs:1529:26
|
1516 | let mut desc_set = desc_sets.pop().unwrap();
| ------------ binding desc_set declared here
...
1529 | set: desc_set.raw_mut(),
| ^^^^^^^^ borrowed value does not live long enough
...
1549 | }
| -
| |
| desc_set dropped here while still borrowed
| borrow might be used here, when write_map is dropped and runs the Drop code for type BTreeMap

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions