Closed
Description
There come times when rust symbols are referenced only by external assembler, sometimes in not-trivial way. It seems rustc is eager to remove them (even making them public does not help).
In clang and gcc there are ways to prevent it: __attribute__((used))
and llvm.used
It seems there is currently no way to force rust to retain a symbol? Can it be added?