Skip to content

Commit aaaf0f6

Browse files
[Wasm] Build compiler with assertions
I added an assertion to catch new relative function pointers in swiftlang#42094, so we should enable assertions to utilize it while building stdlib and corelibs
1 parent b36d317 commit aaaf0f6

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

utils/webassembly/build-presets.ini

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ enable-experimental-differentiable-programming=1
1313
[preset: webassembly-install]
1414

1515
release
16-
no-assertions
1716
install-swift
1817
install-destdir=%(INSTALL_DESTDIR)s
1918
swift-install-components=autolink-driver;compiler;clang-resource-dir-symlink;stdlib;sdk-overlay;parser-lib;editor-integration;tools;testsuite-tools;toolchain-tools;license;sourcekit-inproc;swift-remote-mirror;swift-remote-mirror-headers

utils/webassembly/build-toolchain.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ DIST_TOOLCHAIN_SDK=$DIST_TOOLCHAIN_DESTDIR/$TOOLCHAIN_NAME
6262

6363
HOST_BUILD_ROOT=$SOURCE_PATH/host-build
6464
TARGET_BUILD_ROOT=$SOURCE_PATH/target-build
65-
HOST_BUILD_DIR=$HOST_BUILD_ROOT/Ninja-Release
65+
HOST_BUILD_DIR=$HOST_BUILD_ROOT/Ninja-ReleaseAssert
6666

6767
build_host_toolchain() {
6868
# Build the host toolchain and SDK first.

0 commit comments

Comments
 (0)