Emerging-market stocks rallied on Friday, driven by tech companies in Asia, following US data which boosted investor optimism that the world’s biggest economy will avoid a recession.