-
-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #440 from dtolnay/example
Add example code for invalidate_current_thread_spans
- Loading branch information
Showing
3 changed files
with
71 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -24,7 +24,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
rust: [1.56.0, stable, beta] | ||
rust: [1.63.0, stable, beta] | ||
timeout-minutes: 45 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -78,6 +78,29 @@ jobs: | |
env: | ||
RUSTFLAGS: -Z allow-features= --cfg procmacro2_backtrace ${{env.RUSTFLAGS}} | ||
|
||
msrv: | ||
name: Rust 1.56.0 | ||
needs: pre_ci | ||
if: needs.pre_ci.outputs.continue | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 45 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: dtolnay/[email protected] | ||
with: | ||
components: rust-src | ||
- run: cargo check | ||
- run: cargo check --no-default-features | ||
- run: cargo check --features span-locations | ||
- name: RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo check | ||
run: cargo check | ||
env: | ||
RUSTFLAGS: --cfg procmacro2_semver_exempt ${{env.RUSTFLAGS}} | ||
- name: RUSTFLAGS='--cfg procmacro2_semver_exempt' cargo check --no-default-features | ||
run: cargo check --no-default-features | ||
env: | ||
RUSTFLAGS: --cfg procmacro2_semver_exempt ${{env.RUSTFLAGS}} | ||
|
||
minimal: | ||
name: Minimal versions | ||
needs: pre_ci | ||
|
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