Skip to content

Add macOS mod_init_funcs flag#344

Merged
mmastrac merged 3 commits intomasterfrom
macro_flag
Aug 10, 2025
Merged

Add macOS mod_init_funcs flag#344
mmastrac merged 3 commits intomasterfrom
macro_flag

Conversation

@mmastrac
Copy link
Owner

@mmastrac mmastrac commented Aug 10, 2025

ctor fails to run on cranelift partially because it is missing an explicit link section flag: rust-lang/rustc_codegen_cranelift#1588 (comment)

The fully-correct link section should be __DATA,__mod_init_func,mod_init_funcs

Partial fix for #339

@mmastrac mmastrac changed the title Add macOS flag Add macOS mod_init_funcs flag Aug 10, 2025
@mmastrac mmastrac merged commit 080ae07 into master Aug 10, 2025
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments