How does one do something like this in Rust?
// file.c
char const * const strings[10] = {
"str1", ...
}
// file.h
extern char const * const strings[10];
The reference mentions that constant items in Rust are not associated with a particular location in memory, but what if you do want to have it in memory?