Skip to content

Commit 2c9b4a0

Browse files
committed
ci(windows): override AWS_LC_SYS_EFFECTIVE_TARGET for aarch64-pc-windows-gnullvm
1 parent 21e6075 commit 2c9b4a0

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ jobs:
2525
env:
2626
RUSTFLAGS: -Ctarget-feature=+crt-static
2727
RUST_MIN_STACK: 16777216
28+
# Below is a workaround in order to generate the right bindings for `aws-lc-sys`.
29+
# See https://github.com/aws/aws-lc-rs/issues/919 for more details.
30+
AWS_LC_SYS_EFFECTIVE_TARGET_aarch64_pc_windows_gnullvm: aarch64-pc-windows-gnu
2831
permissions:
2932
id-token: write
3033
contents: read
@@ -202,6 +205,9 @@ jobs:
202205
env:
203206
RUSTFLAGS: -Ctarget-feature=+crt-static
204207
RUST_MIN_STACK: 16777216
208+
# Below is a workaround in order to generate the right bindings for `aws-lc-sys`.
209+
# See https://github.com/aws/aws-lc-rs/issues/919 for more details.
210+
AWS_LC_SYS_EFFECTIVE_TARGET_aarch64_pc_windows_gnullvm: aarch64-pc-windows-gnu
205211
permissions:
206212
id-token: write
207213
contents: read
@@ -379,6 +385,9 @@ jobs:
379385
env:
380386
RUSTFLAGS: -Ctarget-feature=+crt-static
381387
RUST_MIN_STACK: 16777216
388+
# Below is a workaround in order to generate the right bindings for `aws-lc-sys`.
389+
# See https://github.com/aws/aws-lc-rs/issues/919 for more details.
390+
AWS_LC_SYS_EFFECTIVE_TARGET_aarch64_pc_windows_gnullvm: aarch64-pc-windows-gnu
382391
permissions:
383392
id-token: write
384393
contents: read

ci/actions-templates/windows-builds-template.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ jobs: # skip-main skip-pr skip-stable
1212
env:
1313
RUSTFLAGS: -Ctarget-feature=+crt-static
1414
RUST_MIN_STACK: 16777216
15+
# Below is a workaround in order to generate the right bindings for `aws-lc-sys`.
16+
# See https://github.com/aws/aws-lc-rs/issues/919 for more details.
17+
AWS_LC_SYS_EFFECTIVE_TARGET_aarch64_pc_windows_gnullvm: aarch64-pc-windows-gnu
1518
permissions:
1619
id-token: write
1720
contents: read

0 commit comments

Comments
 (0)