Skip to content

Commit

Permalink
Resolved warnings on 32bit systems
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianSchmid committed Jun 25, 2024
1 parent 8ba64c8 commit 6fbe755
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/ft/dlt_ft_buffer.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#[cfg(feature = "std")]
#[cfg(all(feature = "std", target_pointer_width = "64"))]
use crate::{error::FtReassembleError, ft::*};
#[cfg(feature = "std")]
use std::string::String;
Expand Down
6 changes: 3 additions & 3 deletions src/ft/dlt_ft_pool.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#[cfg(feature = "std")]
#[cfg(all(feature = "std", target_pointer_width = "64"))]
use crate::{error::*, ft::*};
#[cfg(feature = "std")]
#[cfg(all(feature = "std", target_pointer_width = "64"))]
use core::hash::Hash;
#[cfg(feature = "std")]
#[cfg(all(feature = "std", target_pointer_width = "64"))]
use std::{collections::HashMap, vec::Vec};

/// Pool of buffers to reconstruct multiple DLT file transfer packet streams in
Expand Down
2 changes: 1 addition & 1 deletion src/ft/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ mod dlt_ft_info_pkg;
pub use dlt_ft_info_pkg::*;

mod dlt_ft_pool;
#[cfg(feature = "std")]
#[cfg(all(feature = "std", target_pointer_width = "64"))]
pub use dlt_ft_pool::*;

mod dlt_ft_int;
Expand Down

0 comments on commit 6fbe755

Please sign in to comment.