Skip to content

Commit b5efb86

Browse files
authored
Update CI workflow to include 'call-native-function'
1 parent 38467e7 commit b5efb86

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
strategy:
9595
matrix:
9696
toolchain: ["beta"]
97-
example: ["run-app", "run-app-with-args", "call-managed-function", "passing-parameters", "return-string-from-managed"]
97+
example: ["run-app", "run-app-with-args", "call-native-function", "call-managed-function", "passing-parameters", "return-string-from-managed"]
9898
steps:
9999
- uses: actions/checkout@v6
100100
- name: Install latest ${{ matrix.toolchain }}
@@ -105,6 +105,8 @@ jobs:
105105
working-directory: ./examples/${{ matrix.example }}/ExampleProject
106106
run: dotnet build
107107
- name: Run example '${{ matrix.example }}'
108+
env:
109+
RUSTFLAGS: ${{ matrix.example == 'call-native-function' && '-Z export-executable-symbols' || '' }}
108110
run: cargo run --example ${{ matrix.example }}
109111

110112
documentation:

0 commit comments

Comments
 (0)