mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-07 13:18:20 +00:00
Fix section names for MachO.
This commit is contained in:
@@ -25,7 +25,7 @@ pub struct FuncTrampoline {
|
||||
target_machine: TargetMachine,
|
||||
}
|
||||
|
||||
const FUNCTION_SECTION: &str = "__TEXT__,wasmer_t"; // Needs to be between 1 and 16 chars
|
||||
const FUNCTION_SECTION: &str = "__TEXT,wasmer_trmpl"; // Needs to be between 1 and 16 chars
|
||||
|
||||
impl FuncTrampoline {
|
||||
pub fn new(target_machine: TargetMachine) -> Self {
|
||||
|
||||
@@ -36,7 +36,7 @@ use wasmer_compiler::{
|
||||
};
|
||||
use wasmer_vm::{MemoryStyle, ModuleInfo, TableStyle};
|
||||
|
||||
const FUNCTION_SECTION: &str = "__TEXT__,wasmer_function";
|
||||
const FUNCTION_SECTION: &str = "__TEXT,wasmer_function";
|
||||
|
||||
fn to_compile_error(err: impl std::error::Error) -> CompileError {
|
||||
CompileError::Codegen(format!("{}", err))
|
||||
|
||||
Reference in New Issue
Block a user