We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
Latest changes have made debugging & development very difficult on Windows. Is there a way to work with this?
cargo check:
error[E0308]: mismatched types --> crates\storage\libmdbx-rs\src\environment.rs:433:20 | 433 | if (mode & ffi::MDBX_RDONLY) != 0 { | ^^^^^^^^^^^^^^^^ expected `u32`, found `i32` error[E0277]: no implementation for `u32 & i32` --> crates\storage\libmdbx-rs\src\environment.rs:433:18 | 433 | if (mode & ffi::MDBX_RDONLY) != 0 { | ^ no implementation for `u32 & i32` | = help: the trait `BitAnd<i32>` is not implemented for `u32` = help: the following other types implement trait `BitAnd<Rhs>`: `&'a u32` implements `BitAnd<u32>` `&u32` implements `BitAnd<&u32>` `u32` implements `BitAnd<&u32>` `u32` implements `BitAnd` error[E0308]: mismatched types --> crates\storage\libmdbx-rs\src\environment.rs:435:27 | 435 | } else if (mode & ffi::MDBX_UTTERLY_NOSYNC) != 0 { | ^^^^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `i32` error[E0277]: no implementation for `u32 & i32` --> crates\storage\libmdbx-rs\src\environment.rs:435:25 | 435 | } else if (mode & ffi::MDBX_UTTERLY_NOSYNC) != 0 { | ^ no implementation for `u32 & i32` | = help: the trait `BitAnd<i32>` is not implemented for `u32` = help: the following other types implement trait `BitAnd<Rhs>`: `&'a u32` implements `BitAnd<u32>` `&u32` implements `BitAnd<&u32>` `u32` implements `BitAnd<&u32>` `u32` implements `BitAnd` error[E0308]: mismatched types --> crates\storage\libmdbx-rs\src\environment.rs:437:27 | 437 | } else if (mode & ffi::MDBX_NOMETASYNC) != 0 { | ^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `i32` error[E0277]: no implementation for `u32 & i32` --> crates\storage\libmdbx-rs\src\environment.rs:437:25 | 437 | } else if (mode & ffi::MDBX_NOMETASYNC) != 0 { | ^ no implementation for `u32 & i32` | = help: the trait `BitAnd<i32>` is not implemented for `u32` = help: the following other types implement trait `BitAnd<Rhs>`: `&'a u32` implements `BitAnd<u32>` `&u32` implements `BitAnd<&u32>` `u32` implements `BitAnd<&u32>` `u32` implements `BitAnd` error[E0308]: mismatched types --> crates\storage\libmdbx-rs\src\environment.rs:439:27 | 439 | } else if (mode & ffi::MDBX_SAFE_NOSYNC) != 0 { | ^^^^^^^^^^^^^^^^^^^^^ expected `u32`, found `i32` error[E0277]: no implementation for `u32 & i32` --> crates\storage\libmdbx-rs\src\environment.rs:439:25 | 439 | } else if (mode & ffi::MDBX_SAFE_NOSYNC) != 0 { | ^ no implementation for `u32 & i32` | = help: the trait `BitAnd<i32>` is not implemented for `u32` = help: the following other types implement trait `BitAnd<Rhs>`: `&'a u32` implements `BitAnd<u32>` `&u32` implements `BitAnd<&u32>` `u32` implements `BitAnd<&u32>` `u32` implements `BitAnd` Some errors have detailed explanations: E0277, E0308. For more information about an error, try `rustc --explain E0277`. error: could not compile `reth-libmdbx` (lib) due to 8 previous errors
cargo check
No response
Windows (x86)
main, latest
eth
Full via --full flag
The text was updated successfully, but these errors were encountered:
could you please check what the generated type alias for MDBX_env_flags_t is? in reth-mdbx-sys,
MDBX_env_flags_t
e.g.
pub type MDBX_env_flags_t = ::std::os::raw::c_uint;
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Hi,
Latest changes have made debugging & development very difficult on Windows. Is there a way to work with this?
cargo check:
Steps to reproduce
cargo check
Node logs
No response
Platform(s)
Windows (x86)
What version/commit are you on?
main, latest
What database version are you on?
main, latest
Which chain / network are you on?
eth
What type of node are you running?
Full via --full flag
What prune config do you use, if any?
No response
If you've built Reth from source, provide the full command you used
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: