error on manuall install
warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique
--> anyrun/src/main.rs:877:16
|
877 | if plugin_view.plugin.info() == exclusive.plugin.info() {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: the address of the same function can vary between different codegen units
= note: furthermore, different functions could have the same address after being merged together
= note: for more information visit https://doc.rust-lang.org/nightly/core/ptr/fn.fn_addr_eq.html
= note: #[warn(unpredictable_function_pointer_comparisons)] on by default
help: refactor your code, or use std::ptr::fn_addr_eq to suppress the lint
|
877 - if plugin_view.plugin.info() == exclusive.plugin.info() {
877 + if std::ptr::fn_addr_eq(plugin_view.plugin.info(), exclusive.plugin.info()) {
|
warning: anyrun (bin "anyrun") generated 1 warning
Please dont update things before you know if that is working. Dont support developers for that
That is not an error, it is a warning and a warning that does not matter for this project.