File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -47,13 +47,13 @@ jobs:
4747 uses : actions-rs/cargo@v1
4848 with :
4949 command : clippy
50- args : --target ${{ matrix.target }} -- -D warnings
50+ args : --target ${{ matrix.target }} --examples --tests -- -D warnings
5151
5252 - name : build
5353 uses : actions-rs/cargo@v1
5454 with :
5555 command : build
56- args : --target ${{ matrix.target }}
56+ args : --examples --tests -- target ${{ matrix.target }}
5757
5858 - name : doc
5959 uses : actions-rs/cargo@v1
Original file line number Diff line number Diff line change @@ -390,7 +390,7 @@ impl AppWindow {
390390 . unwrap ( ) ;
391391
392392 let ( device, queue) =
393- block_on ( adapter. request_device ( & wgpu:: DeviceDescriptor :: default ( ) , None ) ) . unwrap ( ) ;
393+ block_on ( adapter. request_device ( & wgpu:: DeviceDescriptor :: default ( ) ) ) . unwrap ( ) ;
394394
395395 // Set up swap chain
396396 let surface_desc = wgpu:: SurfaceConfiguration {
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ impl AppWindow {
7171 . unwrap ( ) ;
7272
7373 let ( device, queue) =
74- block_on ( adapter. request_device ( & wgpu:: DeviceDescriptor :: default ( ) , None ) ) . unwrap ( ) ;
74+ block_on ( adapter. request_device ( & wgpu:: DeviceDescriptor :: default ( ) ) ) . unwrap ( ) ;
7575
7676 // Set up swap chain
7777 let surface_desc = wgpu:: SurfaceConfiguration {
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ impl AppWindow {
6767 . unwrap ( ) ;
6868
6969 let ( device, queue) =
70- block_on ( adapter. request_device ( & wgpu:: DeviceDescriptor :: default ( ) , None ) ) . unwrap ( ) ;
70+ block_on ( adapter. request_device ( & wgpu:: DeviceDescriptor :: default ( ) ) ) . unwrap ( ) ;
7171
7272 // Set up swap chain
7373 let surface_desc = wgpu:: SurfaceConfiguration {
You can’t perform that action at this time.
0 commit comments