You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ice: too many arguments to fn_ptr: log (got 2 args, expected 1) #298
Activity
bjorn3 commentedon Jul 1, 2023
logis a function in libm. Gcc likely has it pre-declared with the same signature as the libm version to be able to replace it with a faster version at compile time. LLVM has the exact samw problem as I understand it. And in the past it also used to have to be an issue when#[link(wasm_import_module)]was used to import from a non-default module: rust-lang/rust#56309 The test is not meant to work outside of webassembly with#[link(wasm_import_module)]. https://github.com/rust-lang/rust/blob/e5bb341f0e1db4e4407f129d9834f9ada2030b7c/tests/run-make/wasm-symbols-different-module/log.rsantoyo commentedon Sep 24, 2025
I believe this is fixed now.
Are you able to reproduce?
GuillaumeGomez commentedon Jan 30, 2026
I opened #847 to ensure it.
Add regression test for <rust-lang#298>
Merge pull request #847 from GuillaumeGomez/log-test