-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
posix_other.nim(530, 3) Error: cannot 'importc' variable at compile time` #10056
Comments
Then I don't think anyone can reproduce it with that little information. It must have come from some module importing |
Issue introduced here #10016 |
do you have any NimScript file in your project? |
I have a .nim.cfg file named the same as the main module. |
This issue has been automatically marked as stale because it has not had recent activity. If you think it is still a valid issue, write a comment below; otherwise it will be closed. Thank you for your contributions. |
closing this, feel free to re-open if you still have this issue. This is most likely due to a mis-match between bootstrapping nim (csources) and what nim expects. (#15843 (comment) was also closed for similar reasons) |
Error:
../../Nim/lib/posix/posix_other.nim(530, 3) Error: cannot 'importc' variable at compile time
I don't know where the error in my project is, but it wasn't an issue before.
Culprit: #10016
Workaround:
rm config/config.nims
The text was updated successfully, but these errors were encountered: