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

add documentation for the Root Source File #1517

Open
andrewrk opened this issue Sep 13, 2018 · 0 comments
Open

add documentation for the Root Source File #1517

andrewrk opened this issue Sep 13, 2018 · 0 comments
Labels
contributor friendly This issue is limited in scope and/or knowledge of Zig internals. docs
Milestone

Comments

@andrewrk
Copy link
Member

extracted from #367

  • explain how root source file finds other files
  • pub fn main
  • pub fn panic
  • if linking with libc you can use export fn main
  • order independent top level declarations
  • lazy analysis
  • using comptime { _ = @import() }
  • using zig as a linker with no root source file
@andrewrk andrewrk added the docs label Sep 13, 2018
@andrewrk andrewrk added this to the 0.4.0 milestone Sep 13, 2018
@andrewrk andrewrk modified the milestones: 0.4.0, 0.5.0 Mar 22, 2019
@andrewrk andrewrk modified the milestones: 0.5.0, 0.6.0 Sep 20, 2019
@andrewrk andrewrk added the contributor friendly This issue is limited in scope and/or knowledge of Zig internals. label Dec 9, 2019
@andrewrk andrewrk modified the milestones: 0.6.0, 0.7.0 Dec 9, 2019
@andrewrk andrewrk modified the milestones: 0.7.0, 0.8.0 Oct 10, 2020
@andrewrk andrewrk modified the milestones: 0.8.0, 0.9.0 Nov 6, 2020
@andrewrk andrewrk modified the milestones: 0.9.0, 0.10.0 May 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor friendly This issue is limited in scope and/or knowledge of Zig internals. docs
Projects
None yet
Development

No branches or pull requests

1 participant