We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20acdd6 commit 22b51b0Copy full SHA for 22b51b0
.github/workflows/ci.yml
@@ -233,6 +233,9 @@ jobs:
233
- name: Set Android Linker path
234
if: endsWith(matrix.thing, '-android')
235
run: echo "CARGO_TARGET_$(echo ${{ matrix.target }} | tr \\-a-z _A-Z)_LINKER=$ANDROID_NDK/toolchains/llvm/prebuilt/linux-x86_64/bin/$(echo ${{ matrix.target }} | sed s/armv7/armv7a/)21-clang++" >> "$GITHUB_ENV"
236
+ - name: Enable exceptions explicitly on Android
237
+ if: endsWith(matrix.thing, '-android')
238
+ run: echo CXXFLAGS=-fexceptions >> "$GITHUB_ENV"
239
- name: Build tests
240
# We `build` because we want the linker to verify we are cross-compiling correctly for check-only targets.
241
run: cargo build --target ${{ matrix.target }} --tests ${{ matrix.extra_test_args }}
0 commit comments