Skip to content

Commit fbfd290

Browse files
committed
build release binaries so that they can obtain local times (#652)
1 parent 6e40433 commit fbfd290

File tree

2 files changed

+126
-127
lines changed

2 files changed

+126
-127
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ jobs:
160160
echo "release version: $RELEASE_VERSION"
161161
162162
- name: Build release binary
163-
run: ${{ env.CARGO }} build --verbose --release ${{ env.TARGET_FLAGS }} --no-default-features --features ${{ matrix.feature }}
163+
run: RUSTFLAGS="--cfg unsound_local_offset" ${{ env.CARGO }} build --verbose --release ${{ env.TARGET_FLAGS }} --no-default-features --features ${{ matrix.feature }}
164164

165165
- name: Strip release binary (linux and macos)
166166
if: matrix.build == 'linux' || matrix.build == 'macos'

0 commit comments

Comments
 (0)