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
Ability to assign a global variable to be stored in .rodata section of the executable.
This will be achieved with an attribute (name undecided yet). It will most likely make the variable private to the package too by default since that thing it will be making private will most likely only be used by the package.
An important use case for this is for security purposes, especially with the new core:crypto.
The text was updated successfully, but these errors were encountered:
I am marking this issue as stale as it has not received any engagement from the community or maintainers 120 days. That does not imply that the issue has no merit! If you feel strongly about this issue
open a PR referencing and resolving the issue;
leave a comment on it and discuss ideas how you could contribute towards resolving it;
leave a comment and describe in detail why this issue is critical for your use case;
open a new issue with updated details and a plan on resolving the issue.
The motivation for this automation is to help prioritize issues in the backlog and not ignore, reject, or belittle anyone..
// On Unixes:@(link_section=".rodata")
my_global := "Hello, World"// Or on Windows:@(link_section=".rdata")
my_global := "Hello, World!"
However, there exists no way to just say "I want this to be read-only."
So you'd have to use some form of conditional compilation, in order to conditionally pick the section name accordingly.
Ability to assign a global variable to be stored in
.rodata
section of the executable.This will be achieved with an attribute (name undecided yet). It will most likely make the variable
private
to the package too by default since that thing it will be making private will most likely only be used by the package.An important use case for this is for security purposes, especially with the new
core:crypto
.The text was updated successfully, but these errors were encountered: