Is game rewind supported in emulation addons?

I’ve found that none of NES or Genesis emulators doesn’t support rewind. When I press different triggers and shoulders on joystick, the only thing I achieved - increased game speed, no rewind. Can this feature somehow be enabled by config file? Or only libretro+cores rebuilding will help? Is so, can this feature be enabled during build please?