RFC: Pass pointers to const in assembly
PublishedThe const operand to asm! and global_asm! currently only accepts
integers. Change it to also accept pointer values. The value must be computed
during const evaluation. The operand expands to the name of the symbol that the
pointer references, plus an integer offset when necessary.
You can read the full RFC on the Rust RFCs website.