-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ci): Work around binary distribution tool bug
The binary distribution tool we use, `dist`, seems to ignore `RUSTFLAGS` set in `.cargo/config.toml`. See also: axodotdev/cargo-dist#1571 Using a custom build setup, it is possible to patch `RUSTFLAGS`. This is considered a temporary patch, until the underlying bug in `dist` is fixed. See also: https://opensource.axo.dev/cargo-dist/book/ci/customizing.html changelog: ignore
- Loading branch information
1 parent
330fda9
commit 2834a87
Showing
3 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# A workaround for | ||
# https://github.com/axodotdev/cargo-dist/issues/1571 | ||
# using | ||
# https://opensource.axo.dev/cargo-dist/book/ci/customizing.html#customizing-build-setup | ||
- name: Update RUSTFLAGS with --cfg tokio_unstable | ||
run: echo RUSTFLAGS="$RUSTFLAGS --cfg tokio_unstable" >> "$GITHUB_ENV" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters