bootstrap: add wrapper macros for feature = "tracing"-gated tracing macros by jieyouxu · Pull Request #136392 · rust-lang/rust (original) (raw)

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation6 Commits1 Checks6 Files changed

Conversation

This file contains hidden or 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

[ Show hidden characters]({{ revealButtonHref }})

jieyouxu

Follow-up to #136091 (comment).

It's not great, because tracing::instrument and tracing::{span,event} can't be wrapped this way.

Can test locally with:

$ BOOTSTRAP_TRACING=bootstrap=TRACE ./x check src/bootstrap/

r? @onur-ozkan (or reroll)

@rustbot rustbot added S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

T-bootstrap

Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

labels

Feb 1, 2025

onur-ozkan

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@onur-ozkan

@bors

📌 Commit acb3bab has been approved by onur-ozkan

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

and removed S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

labels

Feb 2, 2025

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

Feb 3, 2025

@matthiaskrgr

bootstrap: add wrapper macros for feature = "tracing"-gated tracing macros

Follow-up to rust-lang#136091 (comment).

It's not great, because tracing::instrument and tracing::{span,event} can't be wrapped this way.

Can test locally with:

$ BOOTSTRAP_TRACING=bootstrap=TRACE ./x check src/bootstrap/

r? @onur-ozkan (or reroll)

bors added a commit to rust-lang-ci/rust that referenced this pull request

Feb 3, 2025

@bors

…iaskrgr

Rollup of 8 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

Feb 3, 2025

@matthiaskrgr

bootstrap: add wrapper macros for feature = "tracing"-gated tracing macros

Follow-up to rust-lang#136091 (comment).

It's not great, because tracing::instrument and tracing::{span,event} can't be wrapped this way.

Can test locally with:

$ BOOTSTRAP_TRACING=bootstrap=TRACE ./x check src/bootstrap/

r? @onur-ozkan (or reroll)

bors added a commit to rust-lang-ci/rust that referenced this pull request

Feb 3, 2025

@bors

…iaskrgr

Rollup of 7 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

jieyouxu added a commit to jieyouxu/rust that referenced this pull request

Feb 3, 2025

@jieyouxu

bootstrap: add wrapper macros for feature = "tracing"-gated tracing macros

Follow-up to rust-lang#136091 (comment).

It's not great, because tracing::instrument and tracing::{span,event} can't be wrapped this way.

Can test locally with:

$ BOOTSTRAP_TRACING=bootstrap=TRACE ./x check src/bootstrap/

r? @onur-ozkan (or reroll)

bors added a commit to rust-lang-ci/rust that referenced this pull request

Feb 3, 2025

@bors

Rollup of 8 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request

Feb 3, 2025

@matthiaskrgr

bootstrap: add wrapper macros for feature = "tracing"-gated tracing macros

Follow-up to rust-lang#136091 (comment).

It's not great, because tracing::instrument and tracing::{span,event} can't be wrapped this way.

Can test locally with:

$ BOOTSTRAP_TRACING=bootstrap=TRACE ./x check src/bootstrap/

r? @onur-ozkan (or reroll)

bors added a commit to rust-lang-ci/rust that referenced this pull request

Feb 4, 2025

@bors

…iaskrgr

Rollup of 7 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

@Zalathar

@bors bors added S-waiting-on-author

Status: This is awaiting some action (such as code changes or more information) from the author.

and removed S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

labels

Feb 4, 2025

@jieyouxu

@jieyouxu

Removed the cfg-gated intra-doc link. ./x doc src/bootstrap passes locally.
@bors r=onur-ozkan rollup

@bors

📌 Commit 53b8de1 has been approved by onur-ozkan

It is now in the queue for this repository.

@bors bors removed the S-waiting-on-author

Status: This is awaiting some action (such as code changes or more information) from the author.

label

Feb 4, 2025

@bors bors added the S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

label

Feb 4, 2025

jhpratt added a commit to jhpratt/rust that referenced this pull request

Feb 4, 2025

@jhpratt

bootstrap: add wrapper macros for feature = "tracing"-gated tracing macros

Follow-up to rust-lang#136091 (comment).

It's not great, because tracing::instrument and tracing::{span,event} can't be wrapped this way.

Can test locally with:

$ BOOTSTRAP_TRACING=bootstrap=TRACE ./x check src/bootstrap/

r? @onur-ozkan (or reroll)

bors added a commit to rust-lang-ci/rust that referenced this pull request

Feb 4, 2025

@bors

Rollup of 9 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

bors added a commit to rust-lang-ci/rust that referenced this pull request

Feb 5, 2025

@bors

Rollup of 8 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

rust-timer added a commit to rust-lang-ci/rust that referenced this pull request

Feb 5, 2025

@rust-timer

Rollup merge of rust-lang#136392 - jieyouxu:wrap-tracing, r=onur-ozkan

bootstrap: add wrapper macros for feature = "tracing"-gated tracing macros

Follow-up to rust-lang#136091 (comment).

It's not great, because tracing::instrument and tracing::{span,event} can't be wrapped this way.

Can test locally with:

$ BOOTSTRAP_TRACING=bootstrap=TRACE ./x check src/bootstrap/

r? @onur-ozkan (or reroll)

Labels

A-bootstrap-tracing

Area: bootstrap tracing

S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

T-bootstrap

Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)