You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
🎉 Additional features
include sections allow to include code from other files found in the include path
Those cannot be cyclic, i.e. you cannot include X in Y if you already included Y in X
It is impossible to include the same file multiple times. If you are familiar with C or C++, that's what header guards are for, but they are completely implicit here!
Includes work using an include path, which is simply a set of path to search in. The include path always contains at least the current directory, but can be extended using the -I <PATH> (or -I=<PATH>) flag
A simple example of including files can be found in the examples directory, namely the true.nst file
🐛 Some bug fixes
a bug in the ELF object generation library causing a crash has been fixed. This was triggered when the current file didn't include global symbols (for now, all functions in the code section are marked as global).