JS: support -this-unit-id for programs in the linker (#23613)

Don't assume mainUnitId home-unit id for programs in the JS linker (fix #23613 (closed))

Merge request reports

Loading