Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix copts and linkopts relying on input files
In discord@32275ca when the additional_input local variable was introduced, this went from passing `ctx.attr.swiftc_inputs` to passing `ctx.files.swiftc_inputs` into `expand_locations`. This breaks, since the underlying `expand_location` only allows `Target` types, resulting in the following error when passing any file-like target to `swiftc_inputs`: ``` expected type 'Target' for 'targets' element but got type 'File' instead ``` This switches the two `expand_locations` calls back to using `ctx.attr.swiftc_inputs`.
- Loading branch information