Skip to content

Commit 1bbfed6

Browse files
committed
set RUSTFLAGS for cargo dist in libsql-server-release GA
1 parent 4f72593 commit 1bbfed6

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/libsql-server-release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ jobs:
5454
publishing: ${{ !github.event.pull_request }}
5555
env:
5656
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
57+
RUSTFLAGS: --cfg tokio_unstable
5758
steps:
5859
- uses: actions/checkout@v4
5960
with:
@@ -104,6 +105,7 @@ jobs:
104105
env:
105106
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
106107
BUILD_MANIFEST_NAME: target/distrib/${{ join(matrix.targets, '-') }}-dist-manifest.json
108+
RUSTFLAGS: --cfg tokio_unstable
107109
steps:
108110
- name: enable windows longpaths
109111
run: |
@@ -161,6 +163,7 @@ jobs:
161163
env:
162164
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
163165
BUILD_MANIFEST_NAME: target/distrib/global-dist-manifest.json
166+
RUSTFLAGS: --cfg tokio_unstable
164167
steps:
165168
- uses: actions/checkout@v4
166169
with:
@@ -204,6 +207,7 @@ jobs:
204207
if: ${{ always() && needs.plan.outputs.publishing == 'true' && (needs.build-global-artifacts.result == 'skipped' || needs.build-global-artifacts.result == 'success') && (needs.build-local-artifacts.result == 'skipped' || needs.build-local-artifacts.result == 'success') }}
205208
env:
206209
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
210+
RUSTFLAGS: --cfg tokio_unstable
207211
runs-on: "ubuntu-20.04"
208212
outputs:
209213
val: ${{ steps.host.outputs.manifest }}

0 commit comments

Comments
 (0)