The #[no_mangle] attribute does not work on static data, and only on functions. This seems like a simple oversight.