Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
boywitharupee
· 4y ago · 0 comments
what is the Rust equivalent for #embed?
Comments
[–]
zRedShift
4y ago
https://doc.rust-lang.org/std/macro.include_bytes.html
[–]
guipsp
4y ago
https://doc.rust-lang.org/std/macro.include_bytes.html
[–]
dbrgn
4y ago
And there's also
https://doc.rust-lang.org/std/macro.include_str.html
for strings.