mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-23 21:51:32 +00:00
Fix unused import on Windows.
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
use super::stackmap::{self, StackmapRegistry, StkMapRecord, StkSizeRecord};
|
use super::stackmap::StackmapRegistry;
|
||||||
use crate::intrinsics::Intrinsics;
|
use crate::intrinsics::Intrinsics;
|
||||||
use crate::structs::{Callbacks, LLVMModule, LLVMResult, MemProtect};
|
use crate::structs::{Callbacks, LLVMModule, LLVMResult, MemProtect};
|
||||||
use inkwell::{
|
use inkwell::{
|
||||||
@ -228,6 +228,7 @@ impl LLVMBackend {
|
|||||||
|
|
||||||
#[cfg(all(any(target_os = "linux", target_os = "macos"), target_arch = "x86_64"))]
|
#[cfg(all(any(target_os = "linux", target_os = "macos"), target_arch = "x86_64"))]
|
||||||
{
|
{
|
||||||
|
use super::stackmap::{self, StkMapRecord, StkSizeRecord};
|
||||||
let raw_stackmap = unsafe {
|
let raw_stackmap = unsafe {
|
||||||
std::slice::from_raw_parts(
|
std::slice::from_raw_parts(
|
||||||
llvm_backend_get_stack_map_ptr(module),
|
llvm_backend_get_stack_map_ptr(module),
|
||||||
|
Reference in New Issue
Block a user