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

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