Skip to content

Commit

Permalink
Fix --host_features with multiple transitions
Browse files Browse the repository at this point in the history
Fixes #13839 (comment)

Closes #17625.

PiperOrigin-RevId: 513249316
Change-Id: Ied4ab6958febaf320ae9e0f906c8071db0077e43
  • Loading branch information
keith authored and Copybara-Service committed Mar 1, 2023
1 parent c138210 commit 01c7d7d
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 01c7d7d

Please sign in to comment.