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

Fix warnings - InfoContext::builder and shared reference to mutable static #21

Open
dmitrypol opened this issue May 2, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@dmitrypol
Copy link
Collaborator

dmitrypol commented May 2, 2024

run ./build.sh

warning: creating a shared reference to mutable static is discouraged
   --> src/logging.rs:160:29
    |
160 |             log::set_logger(&LOGGER).map(|()| log::set_max_level(log::LevelFilter::Trace))
    |                             ^^^^^^^ shared reference to mutable static


use of deprecated method `valkey_module::InfoContext::add_info_section`: Please use [`InfoContext::builder`] instead.
@dmitrypol dmitrypol added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant