Skip to content

Commit aef1128

Browse files
authored
add CXX var to configure cpp compiler (#928)
1 parent e8d61a6 commit aef1128

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cargo/cargo_build_script.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ def _build_script_impl(ctx):
107107
cc_executable = cc_toolchain.compiler_executable
108108
if cc_executable:
109109
env["CC"] = cc_executable
110+
env["CXX"] = cc_executable
110111
ar_executable = cc_toolchain.ar_executable
111112
if ar_executable:
112113
env["AR"] = ar_executable

0 commit comments

Comments
 (0)