Skip to content
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 and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bootstrap: Don't apply -Ztls-model=initial-exec to deps of proc-macros #134865

Merged
merged 2 commits into from
Dec 30, 2024

Conversation

clubby789
Copy link
Contributor

Fixes #134863

  1. Checks if a crate name is in a static list before applying the flag
  2. Adds a tidy check that gathers transitive deps of proc macros and ensures the list is up to date

cc @bjorn3 - the issue specifies rustc_fluent_macro but I assume this applies to all proc macro crates.

@rustbot
Copy link
Collaborator

rustbot commented Dec 28, 2024

r? @onur-ozkan

rustbot has assigned @onur-ozkan.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added A-testsuite Area: The testsuite used to check the correctness of rustc 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 Dec 28, 2024
@rustbot

This comment was marked as resolved.

@rust-log-analyzer

This comment has been minimized.

src/tools/tidy/src/deps.rs Outdated Show resolved Hide resolved
@rustbot
Copy link
Collaborator

rustbot commented Dec 29, 2024

These commits modify the Cargo.lock file. Unintentional changes to Cargo.lock can be introduced when switching branches and rebasing PRs.

If this was unintentional then you should revert the changes before this PR is merged.
Otherwise, you can ignore this comment.

Copy link
Member

@onur-ozkan onur-ozkan left a comment

Choose a reason for hiding this comment

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

Thanks!

@onur-ozkan
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Dec 29, 2024

📌 Commit fc73cfe 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 Dec 29, 2024
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Dec 29, 2024
…zkan

bootstrap: Don't apply -Ztls-model=initial-exec to deps of proc-macros

Fixes rust-lang#134863

1. Checks if a crate name is in a static list before applying the flag
2. Adds a tidy check that gathers transitive deps of proc macros and ensures the list is up to date

cc `@bjorn3` - the issue specifies `rustc_fluent_macro` but I assume this applies to all proc macro crates.
jieyouxu added a commit to jieyouxu/rust that referenced this pull request Dec 29, 2024
…zkan

bootstrap: Don't apply -Ztls-model=initial-exec to deps of proc-macros

Fixes rust-lang#134863

1. Checks if a crate name is in a static list before applying the flag
2. Adds a tidy check that gathers transitive deps of proc macros and ensures the list is up to date

cc ``@bjorn3`` - the issue specifies `rustc_fluent_macro` but I assume this applies to all proc macro crates.
bors added a commit to rust-lang-ci/rust that referenced this pull request Dec 29, 2024
…iaskrgr

Rollup of 4 pull requests

Successful merges:

 - rust-lang#134865 (bootstrap: Don't apply -Ztls-model=initial-exec to deps of proc-macros)
 - rust-lang#134884 (Fix typos)
 - rust-lang#134892 (Added codegen test for elidings bounds check when indexes are manually checked)
 - rust-lang#134894 (Document how to run the split Docker pipelines)

r? `@ghost`
`@rustbot` modify labels: rollup
@matthiaskrgr
Copy link
Member

@bors r-
seems to have failed in #134896 (comment)

@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 Dec 29, 2024
src/tools/tidy/src/deps.rs Outdated Show resolved Hide resolved
@clubby789
Copy link
Contributor Author

@bors r=onur-ozkan

@bors
Copy link
Contributor

bors commented Dec 29, 2024

📌 Commit f073462 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-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Dec 29, 2024
@bors
Copy link
Contributor

bors commented Dec 30, 2024

⌛ Testing commit f073462 with merge c156614...

@bors
Copy link
Contributor

bors commented Dec 30, 2024

☀️ Test successful - checks-actions
Approved by: onur-ozkan
Pushing c156614 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Dec 30, 2024
@bors bors merged commit c156614 into rust-lang:master Dec 30, 2024
7 checks passed
@rustbot rustbot added this to the 1.85.0 milestone Dec 30, 2024
@rust-timer
Copy link
Collaborator

Finished benchmarking commit (c156614): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

This benchmark run did not return any relevant results for this metric.

Max RSS (memory usage)

Results (secondary -0.1%)

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
2.0% [2.0%, 2.0%] 1
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-2.3% [-2.3%, -2.3%] 1
All ❌✅ (primary) - - 0

Cycles

Results (secondary -2.5%)

This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-2.5% [-3.2%, -1.9%] 8
All ❌✅ (primary) - - 0

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 759.369s -> 759.791s (0.06%)
Artifact size: 325.57 MiB -> 325.54 MiB (-0.01%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc merged-by-bors This PR was explicitly merged by bors. 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)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dependency of rustc_fluent_macros getting compiled with -Ztls-model=initial-exec
9 participants