Skip to content

add documentation for the Root Source File #1517

Open

Description

@andrewrk

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

Activity

  1. added this to the 0.4.0 milestone on Sep 13, 2018
  2. modified the milestones: 0.4.0, 0.5.0 on Mar 22, 2019
  3. modified the milestones: 0.5.0, 0.6.0 on Sep 20, 2019
  4. added
    contributor friendly
    on Dec 9, 2019
  5. modified the milestones: 0.6.0, 0.7.0 on Dec 9, 2019
  6. modified the milestones: 0.7.0, 0.8.0 on Oct 10, 2020
  7. modified the milestones: 0.8.0, 0.9.0 on Nov 6, 2020
  8. modified the milestones: 0.9.0, 0.10.0 on May 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    contributor friendlydocs

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions