File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,7 @@ fn create_session(
125125 xr:: FrameWaiter ,
126126 xr:: FrameStream < xr:: OpenGlEs > ,
127127) {
128+ #[ allow( unreachable_code) ]
128129 unsafe {
129130 xr_instance
130131 . create_session ( xr_system, & graphics:: session_create_info ( graphics_context) )
Original file line number Diff line number Diff line change @@ -281,8 +281,9 @@ async fn install_server(
281281 }
282282
283283 if let Some ( session_version) = session_version {
284- // This code is tailored for Windows and is only hit on Windows
285- assert ! ( cfg!( windows) ) ;
284+ if !cfg ! ( windows) {
285+ unreachable ! ( "The session copying code should only be hit on Windows!" )
286+ }
286287
287288 for inst in get_installations ( ) {
288289 if inst. version == session_version {
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ pub enum ReleaseFlavor {
1717pub fn generate_licenses ( ) -> String {
1818 let sh = Shell :: new ( ) . unwrap ( ) ;
1919
20- cmd ! ( sh, "cargo install cargo-about --version 0.6.4 " )
20+ cmd ! ( sh, "cargo install cargo-about --version 0.8.4 --locked " )
2121 . run ( )
2222 . unwrap ( ) ;
2323
You can’t perform that action at this time.
0 commit comments