This PR adds an "exclude_prefixes" attribute to the par_binary rule, such that files referenced in the runfiles manifest can be excluded from the final archive. This is useful for cross-compilation scenarios, where the runfiles may include the sysroot used for cross compilation. Since these files will be present in the execution environment of the cross-compilation target, there is no need to include them in the archive.
This PR adds an "exclude_prefixes" attribute to the par_binary rule, such that files referenced in the runfiles manifest can be excluded from the final archive. This is useful for cross-compilation scenarios, where the runfiles may include the sysroot used for cross compilation. Since these files will be present in the execution environment of the cross-compilation target, there is no need to include them in the archive.