They don't have to re-write Mir, simply supporting the Wayland protocol would make Mir compatible with all Wayland clients....