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

Place size limits on query keys and values #108690

Merged
merged 1 commit into from
Mar 11, 2023

Conversation

Zoxc
Copy link
Contributor

@Zoxc Zoxc commented Mar 3, 2023

This just prevents these from growing accidentally too large. I'm not sure if there's an easy way to also print the actual size too.

@rustbot
Copy link
Collaborator

rustbot commented Mar 3, 2023

r? @wesleywiser

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Mar 3, 2023
@cjgillot
Copy link
Contributor

cjgillot commented Mar 4, 2023

r=me with the actual/expected sizes added to the format string, and removing the use of concat!.

@Zoxc
Copy link
Contributor Author

Zoxc commented Mar 4, 2023

Const eval doesn't yet support format strings, hence the use of concat!.

@cjgillot
Copy link
Contributor

cjgillot commented Mar 7, 2023

@bors r+

@bors
Copy link
Contributor

bors commented Mar 7, 2023

📌 Commit 1ccb1de has been approved by cjgillot

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 Mar 7, 2023
JohnTitor added a commit to JohnTitor/rust that referenced this pull request Mar 8, 2023
Place size limits on query keys and values

This just prevents these from growing accidentally too large. I'm not sure if there's an easy way to also print the actual size too.
JohnTitor added a commit to JohnTitor/rust that referenced this pull request Mar 8, 2023
Place size limits on query keys and values

This just prevents these from growing accidentally too large. I'm not sure if there's an easy way to also print the actual size too.
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Mar 8, 2023
Place size limits on query keys and values

This just prevents these from growing accidentally too large. I'm not sure if there's an easy way to also print the actual size too.
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Mar 9, 2023
Place size limits on query keys and values

This just prevents these from growing accidentally too large. I'm not sure if there's an easy way to also print the actual size too.
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Mar 10, 2023
Place size limits on query keys and values

This just prevents these from growing accidentally too large. I'm not sure if there's an easy way to also print the actual size too.
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Mar 11, 2023
Place size limits on query keys and values

This just prevents these from growing accidentally too large. I'm not sure if there's an easy way to also print the actual size too.
bors added a commit to rust-lang-ci/rust that referenced this pull request Mar 11, 2023
…iaskrgr

Rollup of 9 pull requests

Successful merges:

 - rust-lang#104363 (Make `unused_allocation` lint against `Box::new` too)
 - rust-lang#106633 (Stabilize `nonzero_min_max`)
 - rust-lang#106844 (allow negative numeric literals in `concat!`)
 - rust-lang#108071 (Implement goal caching with the new solver)
 - rust-lang#108542 (Force parentheses around `match` expression in binary expression)
 - rust-lang#108690 (Place size limits on query keys and values)
 - rust-lang#108708 (Prevent overflow through Arc::downgrade)
 - rust-lang#108739 (Prevent the `start_bx` basic block in codegen from having two `Builder`s at the same time)
 - rust-lang#108806 (Querify register_tools and post-expansion early lints)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 1909d93 into rust-lang:master Mar 11, 2023
@rustbot rustbot added this to the 1.70.0 milestone Mar 11, 2023
@Zoxc Zoxc deleted the query-size-limits branch March 11, 2023 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants