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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- os: [ windows-latest ]
target: x86_64-pc-windows-msvc
- os: [ windows-latest ]
target: i586-pc-windows-msvc
target: i686-pc-windows-msvc
- os: [ ubuntu-latest ]
target: x86_64-unknown-linux-gnu
runs-on: ${{ matrix.os }}
Expand All @@ -34,7 +34,7 @@ jobs:
- os: [ windows-latest ]
target: x86_64-pc-windows-msvc
- os: [ windows-latest ]
target: i586-pc-windows-msvc
target: i686-pc-windows-msvc
- os: [ ubuntu-latest ]
target: x86_64-unknown-linux-gnu

Expand Down
2 changes: 1 addition & 1 deletion labview-interop/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "labview-interop"
version = "0.4.2"
version = "0.4.3"
edition = { workspace = true }
license = "MIT"
homepage = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion labview-interop/src/types/array/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ impl<const D: usize, T> LVArray<D, T> {
let mut dimensions = [0i32; D];

for (index, value) in dimensions.iter_mut().enumerate() {
let element_ptr = std::ptr::addr_of!(self.dim_sizes.0[index]);
let element_ptr = std::ptr::addr_of!(self.dim_sizes.shape()[index]);
// Safety: the indexes must be in range due to the const generic value.
let dim_size = unsafe { std::ptr::read_unaligned(element_ptr) };
*value = dim_size;
Expand Down
Loading