I want to do the equivalent to the following but as a macro:
`{.pragma: align64, codegenDecl: "$# $# __attribute__((aligned(64)))".}`
Macros as pragmas for procs work fine, is it also available for variables?
macro align64*(x: untyped): untyped =
# expectKind(x, nnkIdent)
result = x
when defined(js):
return
# codegenDecl code goes here
# This works
proc foo() {.align64.} =
discard
# How to get this to work
let bar {.align64.} = [1, 2, 3, 4]
