Building with clang works correctly, GCC, not so much.
1:
src/example_04/main.cc:319:25: error: implicitly-declared ‘wgpu::TextureView& wgpu::TextureView::operator=(const wgpu::TextureView&)’ is deprecated [-Werror=deprecated-copy]
319 | attachment.view = backbufferView;
Building with
clangworks correctly, GCC, not so much.wgpuRenderPassEncoderSetPipeline)backbufferView[1] (examples 4 and 5)1: