Make rt::stack public

Fixes #8478.