mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-30 17:11:33 +00:00
Port to FreeBSD
This commit is contained in:
@ -206,7 +206,10 @@ impl LLVMBackend {
|
||||
|
||||
let buffer = Arc::new(Buffer::LlvmMemory(memory_buffer));
|
||||
|
||||
#[cfg(all(any(target_os = "linux", target_os = "macos"), target_arch = "x86_64"))]
|
||||
#[cfg(all(
|
||||
any(target_os = "freebsd", target_os = "linux", target_os = "macos"),
|
||||
target_arch = "x86_64"
|
||||
))]
|
||||
{
|
||||
use super::stackmap::{self, StkMapRecord, StkSizeRecord};
|
||||
use std::collections::BTreeMap;
|
||||
|
@ -53,7 +53,10 @@ pub enum StackmapEntryKind {
|
||||
}
|
||||
|
||||
impl StackmapEntry {
|
||||
#[cfg(all(any(target_os = "linux", target_os = "macos"), target_arch = "x86_64"))]
|
||||
#[cfg(all(
|
||||
any(target_os = "freebsd", target_os = "linux", target_os = "macos"),
|
||||
target_arch = "x86_64"
|
||||
))]
|
||||
pub fn populate_msm(
|
||||
&self,
|
||||
module_info: &ModuleInfo,
|
||||
|
Reference in New Issue
Block a user