Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-9748] prevent main from being exported #52179

Open
compnerd opened this issue Jan 24, 2019 · 1 comment
Open

[SR-9748] prevent main from being exported #52179

compnerd opened this issue Jan 24, 2019 · 1 comment
Assignees
Labels
Android Platform: Android CodeGen compiler The Swift compiler in itself improvement IRGen LLVM IR generation Linux Platform: Linux macOS Platform: macOS Windows Platform: Windows

Comments

@compnerd
Copy link
Collaborator

Previous ID SR-9748
Radar None
Original Reporter @compnerd
Type Improvement
Status In Progress
Resolution
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Improvement, Android, CodeGen, IRGen, Linux, Windows, macOS
Assignee @compnerd
Priority Medium

md5: 94e1bc02012d2270cf439211c347b223

Issue Description:

`main` does not need to be exported as it will be invoked by the C runtime itself. It can be fully internalized.

@compnerd
Copy link
Collaborator Author

#22099

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android Platform: Android CodeGen compiler The Swift compiler in itself improvement IRGen LLVM IR generation Linux Platform: Linux macOS Platform: macOS Windows Platform: Windows
Projects
None yet
Development

No branches or pull requests

1 participant