Skip to content

Commit

Permalink
Fix --host_features with multiple transitions
Browse files Browse the repository at this point in the history
  • Loading branch information
keith committed Feb 28, 2023
1 parent 7fcc1e2 commit af1ca13
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1026,6 +1026,7 @@ public FragmentOptions getExec() {

// === Pass on C++ compiler features.
exec.incompatibleUseHostFeatures = incompatibleUseHostFeatures;
exec.hostFeatures = ImmutableList.copyOf(hostFeatures);
if (incompatibleUseHostFeatures) {
exec.defaultFeatures = ImmutableList.copyOf(hostFeatures);
} else {
Expand Down

0 comments on commit af1ca13

Please sign in to comment.