Skip to content

Commit

Permalink
Update worker docstring with example (bazelbuild#505)
Browse files Browse the repository at this point in the history
This comment made it sound like this shouldn't ever happen, but if you
pass `-rpath @loader_path/something` you will always hit this case.
  • Loading branch information
keith authored Oct 14, 2020
1 parent 458c869 commit a677a96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/worker/swift_runner.cc
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ bool SwiftRunner::ProcessPossibleResponseFile(
auto path = arg.substr(1);
std::ifstream original_file(path);
// If we couldn't open it, maybe it's not a file; maybe it's just some other
// argument that starts with "@". (Unlikely, but it's safer to check.)
// argument that starts with "@" such as "@loader_path/..."
if (!original_file.good()) {
consumer(arg);
return false;
Expand Down

0 comments on commit a677a96

Please sign in to comment.