Skip to content

feat: allow skip the dependency on _putchar#144

Open
neko-para wants to merge 1 commit into
mpaland:masterfrom
neko-para:master
Open

feat: allow skip the dependency on _putchar#144
neko-para wants to merge 1 commit into
mpaland:masterfrom
neko-para:master

Conversation

@neko-para

@neko-para neko-para commented Nov 14, 2024

Copy link
Copy Markdown

Currently, it is required to implement _putchar even don't ever plan using it. This PR adds a config option to skip the calling on it.


With the options -dead_strip on MacOS or -Wl,-gc-sections on Linux, the symbol does being stripped out thus no need to implement it. But these options have their own side effects, which won't always fit. (e.g. -Wl,-gc-sections would break _init)

@eyalroz

eyalroz commented Nov 14, 2024

Copy link
Copy Markdown
Collaborator

@neko-para : This repository is abandoned. Please have a look at the active fork.

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.

2 participants