Closed fernandobatels closed 2 years ago
Totals | |
---|---|
Change from base Build 2750544977: | 0% |
Covered Lines: | 134 |
Relevant Lines: | 2519 |
I don't understand the problem, the crate can be built as long as one of the 3 main rsfbclient features are enables (linking
, dynamic_loading
, or pure_rust
).
If we merge this, it will allways pull the pure_rust
implementation, even if not necessary (using linking
for example).
I don't understand the problem, the crate can be built as long as one of the 3 main rsfbclient features are enables (
linking
,dynamic_loading
, orpure_rust
). If we merge this, it will allways pull thepure_rust
implementation, even if not necessary (usinglinking
for example).
On master
branch, running cargo build --release
inside rd2d_firebird
:
error[E0392]: parameter `'c` is never used
--> src/transaction/simple.rs:19:30
|
19 | pub struct SimpleTransaction<'c> {
| ^^ unused parameter
The cargo publish
build the crate on release mode. Without my fix, I cannot launch new versions of rd2d
.
I agree with your commentary about always pull the pure_rust
. I will find an alternative.
Does it work if you do cargo publish --features rsfbclient/pure_rust
?
cargo publish --features rsfbclient/pure_rust
It worked. Thanks. This PR is no longer needed.
Fixed the release build of r2d2_firebird crate. Now we have a phantom option on simple connection/transaction enum's.
Without this fix, we cannot build the r2d2 on release mode.
Issue #125