Skip to content

Update diesel to 2.2.10 #2082

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

Merged
merged 2 commits into from
Apr 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions collector/compile-benchmarks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@ They mostly consist of real-world crates.
- **cranelift-codegen-0.82.1**: The largest crate from a code generator. Used by
wasmtime. Stresses obligation processing.
- **cranelift-codegen-0.119.0**: The largest crate from a code generator. Used by wasmtime. Stresses obligation processing.
- **diesel-1.4.8**: A type safe SQL query builder. Utilizes the type system to
ensure a lot of invariants. Stresses anything related to resolving
trait bounds, by having a lot of trait impls for a large number of different
types.
- **diesel-1.4.8**: A type-safe SQL query builder. Utilizes the type system to ensure a lot of invariants. Stresses anything related to resolving trait bounds, by having a lot of trait impls for a large number of different types.
- **diesel-2.2:10**: A type-safe SQL query builder. Utilizes the type system to ensure a lot of invariants. Stresses anything related to resolving trait bounds, by having a lot of trait impls for a large number of different types.
- **exa-0.10.1**: An `ls` replacement. A widely-used utility, and a binary
crate.
- **helloworld**: A trivial program. Gives a lower bound on compile time.
Expand Down
5 changes: 5 additions & 0 deletions collector/compile-benchmarks/REUSE.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ path = "diesel-1.4.8/**"
SPDX-FileCopyrightText = "diesel contributors"
SPDX-License-Identifier = "MIT OR Apache-2.0"

[[annotations]]
path = "diesel-2.2.10/**"
SPDX-FileCopyrightText = "diesel contributors"
SPDX-License-Identifier = "MIT OR Apache-2.0"

[[annotations]]
path = "encoding/**"
SPDX-FileCopyrightText = "encoding contributors"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"git": {
"sha1": "2a6752b2b91c55b9968b7b8e3df44d5ff7eca166"
},
"path_in_vcs": "diesel"
}
12 changes: 12 additions & 0 deletions collector/compile-benchmarks/diesel-2.2.10/0-println.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/src/query_dsl/mod.rs b/src/query_dsl/mod.rs
index 8be915e7..6da19ecc 100644
--- a/src/query_dsl/mod.rs
+++ b/src/query_dsl/mod.rs
@@ -119,6 +119,7 @@ pub trait QueryDsl: Sized {
where
Self: methods::DistinctDsl,
{
+ println!("testing");
methods::DistinctDsl::distinct(self)
}

Loading
Loading