Fix section names for MachO.

This commit is contained in:
Nick Lewycky
2020-08-07 17:19:55 -07:00
parent 889c5ba1da
commit 8daeff8bc8
2 changed files with 2 additions and 2 deletions

View File

@ -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))