Skip to content

Commit

Permalink
Bump Miri toolchain version and resolve used warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
complexspaces committed Oct 8, 2023
1 parent 9e5d019 commit c7ab301
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
steps:
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2022-10-15
toolchain: nightly-2023-10-08
override: true
components: miri

Expand Down
4 changes: 2 additions & 2 deletions src/platform/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -675,12 +675,12 @@ mod tests {
#[test]
fn check_win_to_rgba_conversion() {
let mut data = DATA;
unsafe { win_to_rgba(&mut data) };
let _converted = unsafe { win_to_rgba(&mut data) };
}

#[test]
fn check_rgba_to_win_conversion() {
let mut data = DATA;
unsafe { rgba_to_win(&mut data) };
let _converted = unsafe { rgba_to_win(&mut data) };
}
}

0 comments on commit c7ab301

Please sign in to comment.