Skip to content

ctor doesn't work on apple arm64? #206

@aviramha

Description

@aviramha

Hey,
I'm currently trying to use ctor on my local M1 Pro. It seems that ctor doesn't run (even though binary is loaded).
The way I tested it is taking the example and running it with DYLD_INSERT_LIBRARIES.
I do know that that env var doesn't work with any binary, so I tested it with another binary that I compiled (and saw that the library was loaded).
I also tried testing using gcc and not rust and same behavior so it's not implementation probably - I'm wondering if anyone knows if anything changed - did they remove the feature from the loader?

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions