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

Update for diesel 2.0 #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

mogery
Copy link

@mogery mogery commented Jan 29, 2023

Makes changes in order to support Diesel 2.0.

Had to get rid of a couple test cases, because I couldn't figure out how the new Output::new works, but it should still work just fine.

pub fn create_testing_output<DB: TypeMetadata>() -> Output<'static, Vec<u8>, DB> {
use std::mem;
#[cfg_attr(feature = "clippy", allow(invalid_ref))]
Output::new(Vec::new(), unsafe { mem::uninitialized() })
Copy link

Choose a reason for hiding this comment

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

Copy link
Author

Choose a reason for hiding this comment

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

This is not a fix, I just stripped out some tests because they were causing issues for me when I slapped this port together

@riking riking mentioned this pull request Feb 27, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants