-
Notifications
You must be signed in to change notification settings - Fork 7
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
How pack std lib to run without Nim installed #19
Comments
ok, this is for specify the nim lib path, but I need to run without nim installed i solved this by reading all std lib at compilation and writing at run time, isn't ideal, but works |
It's the stdlib path you dont need nim installed you need a copy of the nim stdlib then you specify the |
yea, that it that i've made, but there's a way to bundle everything in the binary (like using |
No there is not, PRs welcome there. I've personally never needed it and generally assumed people would make their own stdlib that's not a 1:1 of Nim's due to adding size and features that might not be needed. |
ok, thanks |
When the Nimscript script imports some std lib, it tries to open from Nim, but I need to run the app in a PC that doesn't have the Nim installed, I tried to list the exported procs from a list of libs and call
exportTo
, but it doesn't work, maybe it's related to #9Here's what I tried:
but it doesn't work
The text was updated successfully, but these errors were encountered: