Solid-state wetting at the nanoscale