ci(build): enable tokio_unstable flag in Build RustFS job (#2289)

This commit is contained in:
houseme
2026-03-25 17:03:21 +08:00
committed by GitHub
parent 41dcebda44
commit 0c42916fa9
+5 -1
View File
@@ -204,7 +204,11 @@ jobs:
runs-on: ${{ matrix.os }}
timeout-minutes: 60
env:
RUSTFLAGS: ${{ matrix.rustflags }}
# Always enable Tokio unstable features (required by dial9-tokio-telemetry).
# The RUSTFLAGS env var takes precedence over .cargo/config.toml [build] rustflags,
# so we must include --cfg tokio_unstable here explicitly; otherwise an empty
# RUSTFLAGS value would shadow the config-file flag and silently break tracing.
RUSTFLAGS: "--cfg tokio_unstable ${{ matrix.rustflags }}"
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.prepare-platform-matrix.outputs.matrix) }}