Skip to content

Commit 6782821

Browse files
committed
build: add temporary workaround for Rust on macOS
Temporarily install the x64 Rust target on macOS at build time. To be removed when the target is installed at the macOS VM level. Signed-off-by: Richard Lau <richard.lau@ibm.com>
1 parent 66054cc commit 6782821

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,6 +1175,8 @@ endif
11751175
| sed -E "s/\\{npmversion\\}/$(NPMVERSION)/g" \
11761176
>$(MACOSOUTDIR)/installer/productbuild/Resources/$$lang/conclusion.html ; \
11771177
done
1178+
# TODO(richardlau) remove once target is added to the underlying macOS VMs.
1179+
rustup target add x86_64-apple-darwin
11781180
CC_host="cc -arch x86_64" CXX_host="c++ -arch x86_64" \
11791181
CC_target="cc -arch x86_64" CXX_target="c++ -arch x86_64" \
11801182
CC="cc -arch x86_64" CXX="c++ -arch x86_64" $(PYTHON) ./configure \

0 commit comments

Comments
 (0)