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

made @root package available to userland code #2659

Merged
merged 3 commits into from
Jun 27, 2019

Conversation

emekoi
Copy link
Contributor

@emekoi emekoi commented Jun 11, 2019

this closes #2189 and introduces the package @root to all userland code.

@daurnimator
Copy link
Contributor

minor nit: commit message has a typo ("infite vs infinite")

@hryx
Copy link
Contributor

hryx commented Jun 12, 2019

Why is this @root when the other special imports are std and builtin (without the @ sign)? Feels like they should be consistent.

@emekoi
Copy link
Contributor Author

emekoi commented Jun 16, 2019

i just used @root because that what was already being used. that also is consistent with @build referring to the build.zig file. if that were to be changed I think that would be up to @andrewrk.

@andrewrk andrewrk merged commit 3ed6acd into ziglang:master Jun 27, 2019
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.

expose the root source file with @import("root")
4 participants