Skip to content

fix: stress test inherits RUSTFLAGS from .cargo/config.toml#412

Merged
yulnr merged 1 commit into
mainfrom
fix-stress-test-rustflags
May 15, 2026
Merged

fix: stress test inherits RUSTFLAGS from .cargo/config.toml#412
yulnr merged 1 commit into
mainfrom
fix-stress-test-rustflags

Conversation

@rcoh
Copy link
Copy Markdown
Contributor

@rcoh rcoh commented May 15, 2026

The stress test was setting RUSTFLAGS: "--cfg tokio_unstable" as an env var, which completely overrides .cargo/config.toml and drops -C force-frame-pointers=yes. Without frame pointers, the unwinder walks garbage frames, causing capture_and_symbolize to fail.

Fix: remove the explicit RUSTFLAGS env var so Cargo picks up the config from .cargo/config.toml. Also pin the toolchain to 1.94.1 to match CI.

Fixes https://github.com/dial9-rs/dial9/actions/runs/25910215043

The stress test was setting `RUSTFLAGS: "--cfg tokio_unstable"` as an
env var, which overrides .cargo/config.toml and drops
`-C force-frame-pointers=yes`. This caused the frame-pointer unwinder
to walk garbage frames, failing `capture_and_symbolize`.

Also pin the toolchain to 1.94.1 to match CI.
@rcoh rcoh requested a review from a team May 15, 2026 18:25
@yulnr yulnr added this pull request to the merge queue May 15, 2026
Merged via the queue into main with commit e4df619 May 15, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants