Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions alvr/client_openxr/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ fn create_session(
xr::FrameWaiter,
xr::FrameStream<xr::OpenGlEs>,
) {
#[allow(unreachable_code)]
unsafe {
xr_instance
.create_session(xr_system, &graphics::session_create_info(graphics_context))
Expand Down
5 changes: 3 additions & 2 deletions alvr/launcher/src/actions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,9 @@ async fn install_server(
}

if let Some(session_version) = session_version {
// This code is tailored for Windows and is only hit on Windows
assert!(cfg!(windows));
if !cfg!(windows) {
unreachable!("The session copying code should only be hit on Windows!")
}

for inst in get_installations() {
if inst.version == session_version {
Expand Down
2 changes: 1 addition & 1 deletion alvr/xtask/src/packaging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub enum ReleaseFlavor {
pub fn generate_licenses() -> String {
let sh = Shell::new().unwrap();

cmd!(sh, "cargo install cargo-about --version 0.6.4")
cmd!(sh, "cargo install cargo-about --version 0.8.4 --locked")
.run()
.unwrap();

Expand Down