Skip to content

Commit

Permalink
Specify MinSizeRel in build.sh
Browse files Browse the repository at this point in the history
Looks like MSVC defaults to "Debug" instead of an empty string to so the
default logic which works for other compilers isn't kicking in here.
  • Loading branch information
alexcrichton committed Jul 22, 2024
1 parent 0d91270 commit d9a25b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ fi

cmake -G Ninja -B $build_dir/toolchain -S . \
-DWASI_SDK_BUILD_TOOLCHAIN=ON \
-DCMAKE_BUILD_TYPE=MinSizeRel \
"-DCMAKE_INSTALL_PREFIX=$build_dir/install" \
$WASI_SDK_CI_TOOLCHAIN_CMAKE_ARGS \
"-DLLVM_CMAKE_FLAGS=$WASI_SDK_CI_TOOLCHAIN_LLVM_CMAKE_ARGS"
Expand Down

0 comments on commit d9a25b5

Please sign in to comment.