Skip to content

Commit

Permalink
Fixed: macOS Build with Enabled Warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Sewer56 committed Jun 23, 2024
1 parent a6e4be8 commit 175480f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src-rust/src/c/buffers_c_buffers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -333,9 +333,9 @@ pub extern "C" fn overwrite_allocated_code_ex(

#[cfg(test)]
mod tests {
use crate::c::buffers_c_buffers::{
buffers_allocate_private_memory, buffers_get_buffer, buffersearchsettings_from_proximity,
};
#[cfg(not(target_os = "macos"))]
use crate::c::buffers_c_buffers::buffersearchsettings_from_proximity;
use crate::c::buffers_c_buffers::{buffers_allocate_private_memory, buffers_get_buffer};
use crate::c::buffers_c_buffers::{free_allocation_result, free_get_buffer_result};
use crate::c::buffers_c_locatoritem::{
locatoritem_append_bytes, locatoritem_bytes_left, locatoritem_min_address,
Expand Down

0 comments on commit 175480f

Please sign in to comment.