anyrun icon indicating copy to clipboard operation
anyrun copied to clipboard

error on manuall install

Open nico2004444 opened this issue 10 months ago • 1 comments

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

nico2004444 avatar Apr 15 '25 02:04 nico2004444

That is not an error, it is a warning and a warning that does not matter for this project.

Kirottu avatar Apr 15 '25 05:04 Kirottu